Woolz Image Processing
Version 1.7.5
|
Allocation and freeing routines of properties. More...
Functions | |
WlzPropertyList * | WlzMakePropertyList (WlzErrorNum *dstErr) |
Makes a new property list with a zero link count and a linked list that has no items. More... | |
WlzSimpleProperty * | WlzMakeSimpleProperty (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... | |
WlzNameProperty * | WlzMakeNameProperty (char *name, WlzErrorNum *dstErr) |
Makes a name property from the given name string which is copied. More... | |
WlzGreyProperty * | WlzMakeGreyProperty (char *name, WlzPixelV val, WlzErrorNum *dstErr) |
Makes a grey value property from the given grey value which is copied. More... | |
WlzTextProperty * | WlzMakeTextProperty (char *name, char *text, WlzErrorNum *dstErr) |
Makes a text property from the given name and text strings which are copied. More... | |
WlzEMAPProperty * | WlzMakeEMAPProperty (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... | |
WlzNameProperty * | WlzPropertyListContainsName (WlzPropertyList *plist, char *name) |
Finds the name property with the given name string in the given property list. More... | |
Allocation and freeing routines of properties.
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.