CXI-Basis-Programmierreferenz / Version 2 / Datenspeicherung / CxiTree / Pfadfunktionen /
Funktionen mit Pfadunterstützung (...P-Funktionen)
Viele der Funktionen, die CxiTree von CxiNode erbt, erhalten in C jeweils eine weitere Funktion zur Seite gestellt (Funktionsname + 'P'), die anstelle des einfachen Variablennamens eine Pfadangabe akzeptiert. In C++ verwenden die entsprechenden Memberfunktionen automatisch die Pfadvariante.
Eine Pfadangabe besteht aus mehreren Komponenten, die durch \ voneinander getrennt sind. Näheres hierzu ist bei MovePath beschrieben.
Alle ...P-Funktionen wechseln das Sichtfenster des Baums entsprechend der Pfadangabe, führen den jeweiligen Zugriff aus und wechseln dann zurück an die ursprüngliche Position. Beachten Sie, dass durch diesen Wechsel GetItem-Zeiger ungültig werden und Undo nicht mehr möglich ist. Enthält der Variablenname keine Pfadangabe, erfolgt kein Wechsel, Undo bleibt möglich.
Es folgt eine Liste aller Funktionen mit Pfadunterstützung:
CxiError CxiTree :: SetBin (CxiName, const void *, CxiSize)
CxiError CxiTree :: GetBin (CxiName, void *, CxiSize *) const
CxiError CxiTree :: SetNum (CxiName, long int)
CxiError CxiTree :: ChangeNum (CxiName, long int, const char *)
long int CxiTree :: GetNum (CxiName, long int) const
long int CxiTree :: GetAsNum (CxiName, int, long int, CxiLong) const
int CxiTree :: GetInt (CxiName, int) const
int CxiTree :: GetAsInt (CxiName, int, int, CxiLong) const
CxiError CxiTree :: SetByt (CxiName, CxiByte)
CxiByte CxiTree :: GetByt (CxiName, CxiByte) const
CxiError CxiTree :: SetLog (CxiName, int)
CxiError CxiTree :: ResetLog (CxiName)
int CxiTree :: GetLog (CxiName, int) const
CxiError CxiTree :: ToggleLog (CxiName)
CxiError CxiTree :: SetStr (CxiName, const char *)
char * CxiTree :: GetStr (CxiName, char *, CxiSize, char *) const
char * CxiTree :: GetAsStr (CxiName, char *, CxiSize, int, char *, CxiLong) const
CxiString CxiTree :: GetAsStr (CxiName, int) const
CxiString CxiTree :: GetItemStr (CxiName, int) const
CxiError CxiTree :: AppendItem (CxiName, const char, CxiInt)
CxiError CxiTree :: InsertItem (CxiName, int, const char *, CxiInt)
CxiError CxiTree :: DeleteItem (CxiName, int index, CxiInt)
CxiError CxiTree :: SetLst (CxiName, const char **, CxiInt)
char ** CxiTree :: GetLst (CxiName, void *, CxiSize, char **) const
int CxiTree :: FindInList (CxiName, const char *, CxiInt) const
int CxiTree :: IsInList (CxiName, const char *, CxiInt) const
int CxiTree :: IsEqual (CxiName, const char *) const
int CxiTree :: IsEqualCS (CxiName, const char *) const
int CxiTree :: QueryItemCount (CxiName, int) const
CxiError CxiTree :: SetPtr (CxiName, void *)
void * CxiTree :: GetPtr (CxiName, void *) const
CxiError CxiTree :: SetFun (CxiName, CxiCargoFunc)
CxiCargoFunc CxiTree :: GetFun (CxiName, CxiCargoFunc) const
CxiError CxiTree :: SetRes (CxiName, const char *)
char * CxiTree :: GetRes (CxiName, char *, CxiSize, char *) const
CxiError CxiTree :: DeleteVar (CxiName)
CxiType CxiTree :: QueryVarType (CxiName) const
CxiLong CxiTree :: QueryVarSize (CxiName) const