Function Index | |
DATAOBJECT | allocDataObject (DATAOBJECT pdo, SDOPROPERTY p) |
Creates a dataobject having the type of the specified property. More... | |
SDOLIST | getList (DATAOBJECT pdo, SDOPROPERTY p) |
Returns a list of dataobjects for the specified many-valued property set on the argument dataobject. More... | |
void | setDataObject (DATAOBJECT pdo, SDOPROPERTY p, DATAOBJECT v) |
Sets the specified property of the argument dataobject to the supplied dataobject value. More... | |
DATAOBJECT | getDataObject (DATAOBJECT pdo, SDOPROPERTY p) |
Returns the argument dataobject's property instance of the supplied property as a dataobject. More... | |
void | setInt (DATAOBJECT pdo, SDOPROPERTY p, int i) |
Sets the supplied property of the argument dataobject to the supplied int value. More... | |
int | getInt (DATAOBJECT pdo, SDOPROPERTY p) |
Returns the argument dataobject's property instance of the supplied property as an ìnt . More... | |
void | setCString (DATAOBJECT pdo, SDOPROPERTY p, char *str) |
Sets the supplied property of the argument dataobject to the supplied char * value. More... | |
char * | getCString (DATAOBJECT pdo, SDOPROPERTY p) |
Returns the argument dataobject's property instance of the supplied property as char * . More... | |
int | setDataObjectByName (DATAOBJECT pdo, char *path, DATAOBJECT value) |
Sets the given named property to the argument value dataobject. More... | |
DATAOBJECT | getDataObjectByName (DATAOBJECT pdo, char *path) |
Returns the value of the named property of the argument dataobject. More... | |
void | setIntByName (DATAOBJECT pdo, char *name, int value) |
Sets the property with the supplied name of the argument dataobject to the supplied int value. More... | |
int | getIntByName (DATAOBJECT pdo, char *name) |
Returns the argument dataobject's property instance with the supplied name as int value. More... | |
void | setCStringByName (DATAOBJECT pdo, char *name, char *value) |
Sets the property with the supplied name of the argument dataobject to the supplied char * value. More... | |
char * | getCStringByName (DATAOBJECT pdo, char *name) |
Returns the argument dataobject's property instance with the supplied name as char * value. More... | |
DATAOBJECT allocDataObject | ( | DATAOBJECT | pdo, |
SDOPROPERTY | p | ||
) |
Creates a dataobject having the type of the specified property.
Note that the first parameter is ignored, and only provided for SDO API compatibility.
pdo | unused |
p | SDOPROPERTY to create dataobject for |
SDOLIST getList | ( | DATAOBJECT | pdo, |
SDOPROPERTY | p | ||
) |
Returns a list of dataobjects for the specified many-valued property set on the argument dataobject.
pdo | dataobject to return property value(s) for |
p | SDOPROPERTY of dataobject to return value(s) for |
p
isn't defined on the dataobject's type or isn't defined as many-valued property void setDataObject | ( | DATAOBJECT | pdo, |
SDOPROPERTY | p, | ||
DATAOBJECT | v | ||
) |
Sets the specified property of the argument dataobject to the supplied dataobject value.
pdo | dataobject to set property on |
p | SDOPROPERY to set |
v | dataobject to set as value |
DATAOBJECT getDataObject | ( | DATAOBJECT | pdo, |
SDOPROPERTY | p | ||
) |
Returns the argument dataobject's property instance of the supplied property as a dataobject.
pdo | dataobject to return property value for |
p | SDOPROPERTY of dataobject to return value for |
void setInt | ( | DATAOBJECT | pdo, |
SDOPROPERTY | p, | ||
int | i | ||
) |
Sets the supplied property of the argument dataobject to the supplied int
value.
pdo | dataobject to set value for |
p | SDOPROPERTY of dataobject to set |
i | value to set |
int getInt | ( | DATAOBJECT | pdo, |
SDOPROPERTY | p | ||
) |
Returns the argument dataobject's property instance of the supplied property as an ìnt
.
pdo | dataobject to return property value for |
p | SDOPROPERTY of dataobject to return value for |
void setCString | ( | DATAOBJECT | pdo, |
SDOPROPERTY | p, | ||
char * | str | ||
) |
Sets the supplied property of the argument dataobject to the supplied char *
value.
pdo | dataobject to set value for |
p | SDOPROPERTY of dataobject to set |
str | value to set |
char* getCString | ( | DATAOBJECT | pdo, |
SDOPROPERTY | p | ||
) |
Returns the argument dataobject's property instance of the supplied property as char *
.
pdo | dataobject to return property value for |
p | SDOPROPERTY of dataobject to return value for |
int setDataObjectByName | ( | DATAOBJECT | pdo, |
char * | path, | ||
DATAOBJECT | value | ||
) |
Sets the given named property to the argument value dataobject.
The property path/name used to locate the property (or properties, resp.) to set is looked up in pdo
's type:
pdo
TODO: simplistic append, ie. what about replacing values?
DATAOBJECT getDataObjectByName | ( | DATAOBJECT | pdo, |
char * | path | ||
) |
Returns the value of the named property of the argument dataobject.
void setIntByName | ( | DATAOBJECT | pdo, |
char * | name, | ||
int | value | ||
) |
Sets the property with the supplied name of the argument dataobject to the supplied int
value.
pdo | dataobject to set value for |
name | name of property to set |
value | value to set |
int getIntByName | ( | DATAOBJECT | pdo, |
char * | name | ||
) |
Returns the argument dataobject's property instance with the supplied name as int
value.
pdo | dataobject to return property value for |
name | property name of dataobject to return value for |
void setCStringByName | ( | DATAOBJECT | pdo, |
char * | name, | ||
char * | value | ||
) |
Sets the property with the supplied name of the argument dataobject to the supplied char *
value.
pdo | dataobject to set value for |
name | name of property to set |
value | value to set |
char* getCStringByName | ( | DATAOBJECT | pdo, |
char * | name | ||
) |
Returns the argument dataobject's property instance with the supplied name as char *
value.
pdo | dataobject to return property value for |
name | property name of dataobject to return value for |