Package smetana.core

Class CString

    • Constructor Detail

      • CString

        public CString​(java.lang.String string)
      • CString

        public CString​(int size)
    • Method Detail

      • isSameThan

        public boolean isSameThan​(CString other)
      • duplicate

        public CString duplicate()
      • gmalloc

        public static CString gmalloc​(int nbytes)
      • setParent

        public void setParent​(ST_refstr_t struct)
      • plus_

        public CString plus_​(int pointerMove)
      • comparePointer

        public int comparePointer​(__ptr__ other)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getContent

        public java.lang.String getContent()
      • charAt

        public char charAt​(int i)
      • setCharAt

        public char setCharAt​(int i,
                              char c)
      • length

        public int length()
      • strcmp

        public int strcmp​(CString other)
      • strcmp

        public int strcmp​(CString other,
                          int num)
      • copyFrom

        public void copyFrom​(CString source,
                             int nb)
      • strchr

        public CString strchr​(char c)
      • isSame

        public boolean isSame​(CString other)
      • getUid

        public int getUid()