Woolz Image Processing  Version 1.7.5
WlzMakeProperties.c File Reference

Allocation and freeing routines of properties. More...

Functions

WlzPropertyListWlzMakePropertyList (WlzErrorNum *dstErr)
 Makes a new property list with a zero link count and a linked list that has no items. More...
 
WlzSimplePropertyWlzMakeSimpleProperty (int size, WlzErrorNum *dstErr)
 Allocate space for a WlzSimpleProperty which is a structure with size bytes allocated for data. More...
 
WlzErrorNum WlzFreeSimpleProperty (WlzSimpleProperty *prop)
 Free space allocated for a WlzSimpleProperty. More...
 
WlzNamePropertyWlzMakeNameProperty (char *name, WlzErrorNum *dstErr)
 Makes a name property from the given name string which is copied. More...
 
WlzGreyPropertyWlzMakeGreyProperty (char *name, WlzPixelV val, WlzErrorNum *dstErr)
 Makes a grey value property from the given grey value which is copied. More...
 
WlzTextPropertyWlzMakeTextProperty (char *name, char *text, WlzErrorNum *dstErr)
 Makes a text property from the given name and text strings which are copied. More...
 
WlzEMAPPropertyWlzMakeEMAPProperty (WlzEMAPPropertyType type, char *modelUID, char *anatomyUID, char *targetUID, char *targetVersion, char *stage, char *subStage, char *modelName, char *version, char *fileName, char *comment, WlzErrorNum *dstErr)
 Make an EMAP property structure. More...
 
WlzErrorNum WlzChangeEMAPProperty (WlzEMAPProperty *prop, WlzEMAPPropertyType type, char *modelUID, char *anatomyUID, char *targetUID, char *targetVersion, char *stage, char *subStage, char *modelName, char *version, char *fileName, char *comment)
 Change the values of an EMAP property. Each given value will be checked against the current value to see if a change is necessary. If the property is changed the modification time and author will be updated. NULL for any of modelName, version, fileName, comment implies no change. To change these please modify directly, updating the modification time appropriately. More...
 
WlzErrorNum WlzFreeEMAPProperty (WlzEMAPProperty *prop)
 Free an EMAP property. More...
 
WlzProperty WlzGetProperty (AlcDLPList *plist, WlzObjectType type, WlzErrorNum *dstErr)
 Get a property of a given type from a property list. It is assumed that there is only one property of a given type in the list. More...
 
WlzErrorNum WlzRemoveProperty (AlcDLPList *plist, WlzProperty prop)
 Remove, without freeing, a property from a property list. This is typiucally used after a call to WlzGetProperty(). More...
 
WlzErrorNum WlzFreeProperty (WlzProperty prop)
 Free a woolz property. More...
 
WlzErrorNum WlzFreePropertyList (WlzPropertyList *pList)
 Free a complete property list (including the list structure itself). More...
 
void WlzFreePropertyListEntry (void *prop)
 Free a property list entry. This is a procedure that can be passed e.g. to AlcDLPListEntryAppend to enable automatic freeing of properties held on a property list. More...
 
WlzNamePropertyWlzPropertyListContainsName (WlzPropertyList *plist, char *name)
 Finds the name property with the given name string in the given property list. More...
 

Detailed Description

Allocation and freeing routines of properties.

Author
Richard Baldock
Date
March 1999
Version
Id
5482d1d73f030ee5a46934f6a45dfda951cb9b8a
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.