|
libsheepy
|

Go to the source code of this file.
Data Structures | |
| struct | smallBytesFunctionst |
| struct | smallBytes |
| class More... | |
Macros | |
| #define | helpTextSmallBytes "TODO smallBytes help brief, class description /*, definitions,*/ methods, examples" |
| help text for this class It is public declaration so that child classes can add their help text easily: ret "Child help text \n\n" helpTextSmallBytes; More... | |
| #define | cBy(self) ( (smallBytest*) self ) |
| #define | SMALLBYTESFUNCTIONST |
| use this define in child classes and add the new function after this class functions More... | |
| #define | createSmallBytes(obj) ;smallBytest obj; initiateSmallBytes(&obj) |
| #define | createAllocateSmallBytes(obj) ;smallBytest *obj; initiateAllocateSmallBytes(&obj) |
| #define | cleanSmallBytesP(name) smallBytest *name CLEANUP(cleanUpSmallBytesTerminateG) |
| declare pointer name with type smallBytest and terminate name when it is out of scope More... | |
| #define | cleanAllocateSmallBytes(obj) ;cleanSmallBytesP(obj); initiateAllocateSmallBytes(&obj) |
| allocate smallBytes (pointer) and clean up when it is out of scope More... | |
| #define | cleanSmallBytes(name) smallBytest name CLEANUP(cleanUpSmallBytesFreeLocalG); initiateSmallBytes(&name) |
| declare local object name with type smallBytest and free name when it is out of scope More... | |
| #define | cleanFreeSmallBytes(name) smallBytest *name CLEANUP(cleanUpSmallBytesFreeG) |
| declare pointer name with type smallBytest and free name when it is out of scope More... | |
| #define | cleanFinishSmallBytesP(name) smallBytest *name CLEANUP(cleanUpSmallBytesFinishG) |
| declare pointer name with Type smallBytest and finish name when it is out of scope More... | |
| #define helpTextSmallBytes "TODO smallBytes help brief, class description /*, definitions,*/ methods, examples" |
help text for this class It is public declaration so that child classes can add their help text easily: ret "Child help text \n\n" helpTextSmallBytes;
Definition at line 32 of file libsheepyCSmallBytes.h.
| #define cBy | ( | self | ) | ( (smallBytest*) self ) |
Definition at line 35 of file libsheepyCSmallBytes.h.
| #define SMALLBYTESFUNCTIONST |
use this define in child classes and add the new function after this class functions
in this define, add the methods after <finishClassTemplateFt finish;>
Example: #define RINGFUNCTIONST \ CLASSTEMPLATEFUNCTIONST; \ setSizeRingFt setSize
Definition at line 192 of file libsheepyCSmallBytes.h.
| #define createSmallBytes | ( | obj | ) | ;smallBytest obj; initiateSmallBytes(&obj) |
Definition at line 249 of file libsheepyCSmallBytes.h.
| #define createAllocateSmallBytes | ( | obj | ) | ;smallBytest *obj; initiateAllocateSmallBytes(&obj) |
Definition at line 250 of file libsheepyCSmallBytes.h.
| #define cleanSmallBytesP | ( | name | ) | smallBytest *name CLEANUP(cleanUpSmallBytesTerminateG) |
declare pointer name with type smallBytest and terminate name when it is out of scope
Definition at line 277 of file libsheepyCSmallBytes.h.
| #define cleanAllocateSmallBytes | ( | obj | ) | ;cleanSmallBytesP(obj); initiateAllocateSmallBytes(&obj) |
allocate smallBytes (pointer) and clean up when it is out of scope
Definition at line 282 of file libsheepyCSmallBytes.h.
| #define cleanSmallBytes | ( | name | ) | smallBytest name CLEANUP(cleanUpSmallBytesFreeLocalG); initiateSmallBytes(&name) |
declare local object name with type smallBytest and free name when it is out of scope
Definition at line 287 of file libsheepyCSmallBytes.h.
| #define cleanFreeSmallBytes | ( | name | ) | smallBytest *name CLEANUP(cleanUpSmallBytesFreeG) |
declare pointer name with type smallBytest and free name when it is out of scope
Definition at line 292 of file libsheepyCSmallBytes.h.
| #define cleanFinishSmallBytesP | ( | name | ) | smallBytest *name CLEANUP(cleanUpSmallBytesFinishG) |
declare pointer name with Type smallBytest and finish name when it is out of scope
Definition at line 297 of file libsheepyCSmallBytes.h.
| typedef struct smallBytes smallBytest |
Definition at line 25 of file libsheepyCSmallBytes.h.
| typedef void(* freeSmallBytesFt) (smallBytest *self) |
Definition at line 37 of file libsheepyCSmallBytes.h.
| typedef void(* terminateSmallBytesFt) (smallBytest **self) |
Definition at line 38 of file libsheepyCSmallBytes.h.
| typedef char*(* toStringSmallBytesFt) (smallBytest *self) |
Definition at line 39 of file libsheepyCSmallBytes.h.
| typedef smallBytest*(* duplicateSmallBytesFt) (smallBytest *self) |
Definition at line 40 of file libsheepyCSmallBytes.h.
| typedef void(* finishSmallBytesFt) (smallBytest **self) |
free container
Definition at line 45 of file libsheepyCSmallBytes.h.
| typedef const char*(* helpSmallBytesFt) (smallBytest *self) |
Definition at line 47 of file libsheepyCSmallBytes.h.
| typedef void*(* getSmallBytesFt) (smallBytest *self) |
get buffer in object
Definition at line 52 of file libsheepyCSmallBytes.h.
| typedef smallBytest*(* setSmallBytesFt) (smallBytest *self, void *data, uint32_t size) |
set data buffer in object
after this call, the smallBytes object will have only data
| self | small bytes data buffer to push size size of buffer |
Definition at line 64 of file libsheepyCSmallBytes.h.
| typedef smallBytest*(* pushSmallBytesFt) (smallBytest *self, char data) |
push char to object
| data | char to push |
Definition at line 72 of file libsheepyCSmallBytes.h.
| typedef smallBytest*(* pushBufferSmallBytesFt) (smallBytest *self, void *data, uint32_t size) |
push data buffer to object
| self | small bytes data buffer to push size size of buffer |
Definition at line 82 of file libsheepyCSmallBytes.h.
| typedef char(* getAtSmallBytesFt) (smallBytest *self, int64_t index) |
get char at index
| index |
Definition at line 92 of file libsheepyCSmallBytes.h.
| typedef size_t(* lenSmallBytesFt) (smallBytest *self) |
return buffer size in bytes
Definition at line 101 of file libsheepyCSmallBytes.h.
| typedef bool(* isEmptySmallBytesFt) (smallBytest *self) |
Definition at line 108 of file libsheepyCSmallBytes.h.
| typedef smallBytest*(* readFileSmallBytesFt) (smallBytest *self, const char *filePath) |
read file to self
| filePath | path to file |
Definition at line 119 of file libsheepyCSmallBytes.h.
| typedef smallBytest*(* readFileSmallJsonSmallBytesFt) (smallBytest *self, smallJsont *filePath) |
Definition at line 120 of file libsheepyCSmallBytes.h.
| typedef smallBytest*(* readFileSmallStringSmallBytesFt) (smallBytest *self, smallStringt *filePath) |
Definition at line 121 of file libsheepyCSmallBytes.h.
| typedef smallBytest*(* readStreamSmallBytesFt) (smallBytest *self, FILE *fp) |
Definition at line 122 of file libsheepyCSmallBytes.h.
| typedef int(* writeFileSmallBytesFt) (smallBytest *self, const char *filePath) |
write self to file
| filePath | path to file |
Definition at line 133 of file libsheepyCSmallBytes.h.
| typedef int(* writeFileSmallJsonSmallBytesFt) (smallBytest *self, smallJsont *filePath) |
Definition at line 134 of file libsheepyCSmallBytes.h.
| typedef int(* writeFileSmallStringSmallBytesFt) (smallBytest *self, smallStringt *filePath) |
Definition at line 135 of file libsheepyCSmallBytes.h.
| typedef int(* writeStreamSmallBytesFt) (smallBytest *self, FILE *fp) |
Definition at line 136 of file libsheepyCSmallBytes.h.
| typedef int(* appendFileSmallBytesFt) (smallBytest *self, const char *filePath) |
append self to filePath
| filePath | list |
Definition at line 148 of file libsheepyCSmallBytes.h.
| typedef int(* appendFileSmallStringSmallBytesFt) (smallBytest *self, smallStringt *filePath) |
Definition at line 149 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesFt) (smallBytest *self, smallBytest *value) |
equal compare self to value
| value | to compare |
Definition at line 161 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesBoolFt) (smallBytest *self, bool value) |
Definition at line 162 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesDoubleFt) (smallBytest *self, double value) |
Definition at line 163 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesInt64Ft) (smallBytest *self, int64_t value) |
Definition at line 164 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesInt32Ft) (smallBytest *self, int32_t value) |
Definition at line 165 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesUint32Ft) (smallBytest *self, uint32_t value) |
Definition at line 166 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesUint64Ft) (smallBytest *self, uint64_t value) |
Definition at line 167 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesSmallBoolFt) (smallBytest *self, smallBoolt *value) |
Definition at line 168 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesSmallDoubleFt) (smallBytest *self, smallDoublet *value) |
Definition at line 169 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesSmallIntFt) (smallBytest *self, smallIntt *value) |
Definition at line 170 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesCharFt) (smallBytest *self, const char *value) |
Definition at line 171 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesSmallStringFt) (smallBytest *self, smallStringt *value) |
Definition at line 172 of file libsheepyCSmallBytes.h.
| typedef bool(* equalSmallBytesBaseFt) (smallBytest *self, baset *value) |
Definition at line 173 of file libsheepyCSmallBytes.h.
| void initiateSmallBytes | ( | smallBytest * | self | ) |
| void initiateAllocateSmallBytes | ( | smallBytest ** | self | ) |
Definition at line 170 of file libsheepyCSmallBytes.c.


| void finalizeRecycleSmallBytes | ( | void *arg | UNUSED | ) |
| void finalizeSmallBytes | ( | void | ) |
| void registerMethodsSmallBytes | ( | smallBytesFunctionst * | f | ) |
| smallBytest* allocSmallBytes | ( | void * | data, |
| uint32_t | size | ||
| ) |
| void cleanUpSmallBytesTerminateG | ( | smallBytest ** | val | ) |
Definition at line 216 of file libsheepyCSmallBytes.c.
| void cleanUpSmallBytesFreeLocalG | ( | smallBytest * | val | ) |
Definition at line 221 of file libsheepyCSmallBytes.c.
| void cleanUpSmallBytesFreeG | ( | smallBytest ** | val | ) |
Definition at line 226 of file libsheepyCSmallBytes.c.
| void cleanUpSmallBytesFinishG | ( | smallBytest ** | val | ) |
Definition at line 231 of file libsheepyCSmallBytes.c.
| smallBytest* duplicateSmallBytesG | ( | smallBytest * | self | ) |
Definition at line 846 of file libsheepyCSmallBytes.c.
| void freeSmallBytesG | ( | smallBytest * | self | ) |
Definition at line 851 of file libsheepyCSmallBytes.c.
| smallBytest* setSmallBytesG | ( | smallBytest * | self, |
| void * | data, | ||
| uint32_t | size | ||
| ) |
Definition at line 853 of file libsheepyCSmallBytes.c.
| char getAtSmallBytesG | ( | smallBytest * | self, |
| char retType | UNUSED, | ||
| int64_t | index | ||
| ) |
Definition at line 858 of file libsheepyCSmallBytes.c.
| smallBytest* pushSmallBytesG | ( | smallBytest * | self, |
| char | data | ||
| ) |
Definition at line 863 of file libsheepyCSmallBytes.c.
| size_t lenSmallBytesG | ( | smallBytest * | self | ) |
Definition at line 868 of file libsheepyCSmallBytes.c.
| bool isEmptySmallBytesG | ( | smallBytest * | self | ) |
Definition at line 873 of file libsheepyCSmallBytes.c.
| smallBytest* readFileSmallJsonSmallBytesG | ( | smallBytest * | self, |
| smallJsont * | filePath | ||
| ) |
Definition at line 883 of file libsheepyCSmallBytes.c.
| smallBytest* readFileSmallStringSmallBytesG | ( | smallBytest * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 888 of file libsheepyCSmallBytes.c.
| smallBytest* readFileSmallBytesG | ( | smallBytest * | self, |
| const char * | filePath | ||
| ) |
Definition at line 878 of file libsheepyCSmallBytes.c.
| smallBytest* readStreamSmallBytesG | ( | smallBytest * | self, |
| FILE * | fp | ||
| ) |
Definition at line 893 of file libsheepyCSmallBytes.c.
| int writeFileSmallBytesG | ( | smallBytest * | self, |
| const char * | filePath | ||
| ) |
Definition at line 899 of file libsheepyCSmallBytes.c.
| int writeFileSmallJsonSmallBytesG | ( | smallBytest * | self, |
| smallJsont * | filePath | ||
| ) |
Definition at line 904 of file libsheepyCSmallBytes.c.
| int writeFileSmallStringSmallBytesG | ( | smallBytest * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 909 of file libsheepyCSmallBytes.c.
| int writeStreamSmallBytesG | ( | smallBytest * | self, |
| FILE * | fp | ||
| ) |
Definition at line 914 of file libsheepyCSmallBytes.c.
| int appendFileSmallBytesG | ( | smallBytest * | self, |
| const char * | filePath | ||
| ) |
Definition at line 919 of file libsheepyCSmallBytes.c.
| int appendFileSmallStringSmallBytesG | ( | smallBytest * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 924 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesG | ( | smallBytest * | self, |
| smallBytest * | value | ||
| ) |
Definition at line 929 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesBoolG | ( | smallBytest * | self, |
| bool | value | ||
| ) |
Definition at line 934 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesDoubleG | ( | smallBytest * | self, |
| double | value | ||
| ) |
Definition at line 939 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesInt64G | ( | smallBytest * | self, |
| int64_t | value | ||
| ) |
Definition at line 944 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesInt32G | ( | smallBytest * | self, |
| int32_t | value | ||
| ) |
Definition at line 949 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesUint32G | ( | smallBytest * | self, |
| uint32_t | value | ||
| ) |
Definition at line 954 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesUint64G | ( | smallBytest * | self, |
| uint64_t | value | ||
| ) |
Definition at line 959 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesSmallBoolG | ( | smallBytest * | self, |
| smallBoolt * | value | ||
| ) |
Definition at line 964 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesSmallDoubleG | ( | smallBytest * | self, |
| smallDoublet * | value | ||
| ) |
Definition at line 969 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesSmallIntG | ( | smallBytest * | self, |
| smallIntt * | value | ||
| ) |
Definition at line 974 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesCharG | ( | smallBytest * | self, |
| const char * | value | ||
| ) |
Definition at line 979 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesSmallStringG | ( | smallBytest * | self, |
| smallStringt * | value | ||
| ) |
Definition at line 984 of file libsheepyCSmallBytes.c.
| bool equalSmallBytesBaseG | ( | smallBytest * | self, |
| baset * | value | ||
| ) |
Definition at line 989 of file libsheepyCSmallBytes.c.
1.8.13