The eXtremeDB string and binary database fields are of the following types: fixed length arrays of type
char
,nchar
,wchar,binary
and fields of typestring
(variable length char array),nstring
( variable lengthnchar
array),wstring
( variable lengthwchar
array) andvarbinary
(( variable lengthbinary
array). Please use the links in the following table to view details and examples of these generated APIs:
classname_fieldname_put(char or string) Assign a value into a string or char array classname_fieldname_put(binary) Assign a value into a binary field classname_fieldname_get(char) Retrieve a value into a char array classname_fieldname_get(string) Retrieve a value into a string classname_fieldname_get(binary) Retrieve a value into a fixed size binary array classname_fieldname_get(varbinary) Retrieve a value into a varbinary array classname_fieldname_size(string) Returns the number of bytes (for wstring
fields the count of symbols) in the stringStructure equivalents
structname_fieldname_put(char or string) Assign a value into a string or char array structname_fieldname_get(char) Retrieve a value into a char array structname_fieldname_get(string) Retrieve a value into a string structname_fieldname_size(string) returns the number of bytes in the string