Package smetana.core
Class CString
java.lang.Object
smetana.core.UnsupportedC
smetana.core.CString
- All Implemented Interfaces:
__ptr__
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int i) intcomparePointer(__ptr__ other) voidgetTheField(FieldOffset bytes) intgetUid()static CStringgmalloc(int nbytes) booleanbooleanisSameThan(CString other) intlength()plus_(int pointerMove) charsetCharAt(int i, char c) voidsetParent(ST_refstr_t struct) strchr(char c) intintstrdup()toString()Methods inherited from class smetana.core.UnsupportedC
castTo, isSameThan, unsupportedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface smetana.core.__ptr__
castTo, isSameThan, unsupported
-
Constructor Details
-
CString
-
CString
public CString(int size)
-
-
Method Details
-
isSameThan
-
duplicate
-
strdup
-
gmalloc
-
getTheField
- Specified by:
getTheFieldin interface__ptr__- Overrides:
getTheFieldin classUnsupportedC
-
getParent
-
setParent
-
plus_
-
comparePointer
-
toString
-
getContent
-
charAt
public char charAt(int i) -
setCharAt
public char setCharAt(int i, char c) -
length
public int length() -
strcmp
-
strcmp
-
copyFrom
-
strchr
-
isSame
-
getUid
public int getUid()
-