|
libsheepy
|
#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| struct | smallIntFunctionst |
| struct | smallInt |
| class More... | |
Macros | |
| #define | helpTextSmallInt "TODO smallInt 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" helpTextSmallInt; More... | |
| #define | cIn(self) ( (smallIntt*) self ) |
| #define | SMALLINTFUNCTIONST |
| class functions allocated once for all objects More... | |
| #define | createSmallInt(obj) ;smallIntt obj; initiateSmallInt(&obj) |
| #define | createAllocateSmallInt(obj) ;smallIntt *obj; initiateAllocateSmallInt(&obj) |
| #define | cleanSmallIntP(name) smallIntt *name CLEANUP(cleanUpSmallIntTerminateG) |
| declare pointer name with type smallIntt and terminate name when it is out of scope More... | |
| #define | cleanAllocateSmallInt(obj) ;cleanSmallIntP(obj); initiateAllocateSmallInt(&obj) |
| allocate smallInt (pointer) and clean up when it is out of scope More... | |
| #define | cleanSmallInt(name) smallIntt name CLEANUP(cleanUpSmallIntFreeLocalG); initiateSmallInt(&name) |
| declare local object name with type smallIntt and free name when it is out of scope More... | |
| #define | cleanFreeSmallInt(name) smallIntt *name CLEANUP(cleanUpSmallIntFreeG) |
| declare pointer name with type smallIntt and free name when it is out of scope More... | |
| #define | cleanFinishSmallIntP(name) smallIntt *name CLEANUP(cleanUpSmallIntFinishG) |
| declare pointer name with Type smallIntt and finish name when it is out of scope More... | |
| #define helpTextSmallInt "TODO smallInt 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" helpTextSmallInt;
Definition at line 34 of file libsheepyCSmallInt.h.
| #define cIn | ( | self | ) | ( (smallIntt*) self ) |
Definition at line 37 of file libsheepyCSmallInt.h.
| #define SMALLINTFUNCTIONST |
class functions allocated once for all objects
freed with finalizeSmallInt or finalizeLibsheepy 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 169 of file libsheepyCSmallInt.h.
| #define createSmallInt | ( | obj | ) | ;smallIntt obj; initiateSmallInt(&obj) |
Definition at line 234 of file libsheepyCSmallInt.h.
| #define createAllocateSmallInt | ( | obj | ) | ;smallIntt *obj; initiateAllocateSmallInt(&obj) |
Definition at line 235 of file libsheepyCSmallInt.h.
| #define cleanSmallIntP | ( | name | ) | smallIntt *name CLEANUP(cleanUpSmallIntTerminateG) |
declare pointer name with type smallIntt and terminate name when it is out of scope
Definition at line 262 of file libsheepyCSmallInt.h.
| #define cleanAllocateSmallInt | ( | obj | ) | ;cleanSmallIntP(obj); initiateAllocateSmallInt(&obj) |
allocate smallInt (pointer) and clean up when it is out of scope
Definition at line 267 of file libsheepyCSmallInt.h.
| #define cleanSmallInt | ( | name | ) | smallIntt name CLEANUP(cleanUpSmallIntFreeLocalG); initiateSmallInt(&name) |
declare local object name with type smallIntt and free name when it is out of scope
Definition at line 272 of file libsheepyCSmallInt.h.
| #define cleanFreeSmallInt | ( | name | ) | smallIntt *name CLEANUP(cleanUpSmallIntFreeG) |
declare pointer name with type smallIntt and free name when it is out of scope
Definition at line 277 of file libsheepyCSmallInt.h.
| #define cleanFinishSmallIntP | ( | name | ) | smallIntt *name CLEANUP(cleanUpSmallIntFinishG) |
declare pointer name with Type smallIntt and finish name when it is out of scope
Definition at line 282 of file libsheepyCSmallInt.h.
Definition at line 27 of file libsheepyCSmallInt.h.
| typedef void(* freeSmallIntFt) (smallIntt *self) |
Definition at line 39 of file libsheepyCSmallInt.h.
| typedef void(* terminateSmallIntFt) (smallIntt **self) |
Definition at line 40 of file libsheepyCSmallInt.h.
| typedef char*(* toStringSmallIntFt) (smallIntt *self) |
Definition at line 41 of file libsheepyCSmallInt.h.
Definition at line 42 of file libsheepyCSmallInt.h.
| typedef void(* smashSmallIntFt) (smallIntt **self) |
free self but not the smallInt buffer
Useful when smallInt buffer is shared or when the buffer holds a static smallInt
Definition at line 51 of file libsheepyCSmallInt.h.
| typedef void(* finishSmallIntFt) (smallIntt **self) |
free container
Definition at line 56 of file libsheepyCSmallInt.h.
| typedef const char*(* helpSmallIntFt) (smallIntt *self) |
Definition at line 58 of file libsheepyCSmallInt.h.
| typedef int64_t(* getSmallIntFt) (smallIntt *self) |
Definition at line 76 of file libsheepyCSmallInt.h.
Definition at line 77 of file libsheepyCSmallInt.h.
Definition at line 78 of file libsheepyCSmallInt.h.
Definition at line 79 of file libsheepyCSmallInt.h.
Definition at line 80 of file libsheepyCSmallInt.h.
Definition at line 81 of file libsheepyCSmallInt.h.
| typedef smallIntt*(* setSmallBoolSmallIntFt) (smallIntt *self, smallBoolt *p2) |
Definition at line 82 of file libsheepyCSmallInt.h.
| typedef smallIntt*(* setSmallDoubleSmallIntFt) (smallIntt *self, smallDoublet *p2) |
Definition at line 83 of file libsheepyCSmallInt.h.
Definition at line 84 of file libsheepyCSmallInt.h.
| typedef smallIntt*(* setSmallJsonSmallIntFt) (smallIntt *self, smallJsont *p2) |
Definition at line 85 of file libsheepyCSmallInt.h.
| typedef smallIntt*(* setSmallStringSmallIntFt) (smallIntt *self, smallStringt *p2) |
Definition at line 86 of file libsheepyCSmallInt.h.
| typedef int64_t*(* getPSmallIntFt) (smallIntt *self) |
| typedef bool(* equalSmallIntChaFt) (smallIntt *self, char p2) |
Definition at line 96 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntCharFt) (smallIntt *self, const char *p2) |
Definition at line 97 of file libsheepyCSmallInt.h.
Definition at line 98 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntBoolFt) (smallIntt *self, bool p2) |
Definition at line 99 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntDoubleFt) (smallIntt *self, double p2) |
Definition at line 100 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntInt64Ft) (smallIntt *self, int64_t p2) |
Definition at line 101 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntInt32Ft) (smallIntt *self, int32_t p2) |
Definition at line 102 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntUint32Ft) (smallIntt *self, uint32_t p2) |
Definition at line 103 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntUint64Ft) (smallIntt *self, uint64_t p2) |
Definition at line 104 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntSmallBoolFt) (smallIntt *self, smallBoolt *p2) |
Definition at line 105 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntSmallBytesFt) (smallIntt *self, smallBytest *p2) |
Definition at line 106 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntSmallDoubleFt) (smallIntt *self, smallDoublet *p2) |
Definition at line 107 of file libsheepyCSmallInt.h.
Definition at line 108 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntSmallJsonFt) (smallIntt *self, smallJsont *p2) |
Definition at line 109 of file libsheepyCSmallInt.h.
| typedef bool(* equalSmallIntSmallStringFt) (smallIntt *self, smallStringt *p2) |
Definition at line 110 of file libsheepyCSmallInt.h.
read file to int
| filePath | path to file |
Definition at line 121 of file libsheepyCSmallInt.h.
| typedef smallIntt*(* readFileSmallJsonSmallIntFt) (smallIntt *self, smallJsont *filePath) |
Definition at line 122 of file libsheepyCSmallInt.h.
| typedef smallIntt*(* readFileSmallStringSmallIntFt) (smallIntt *self, smallStringt *filePath) |
Definition at line 123 of file libsheepyCSmallInt.h.
Definition at line 124 of file libsheepyCSmallInt.h.
| typedef int(* writeFileSmallIntFt) (smallIntt *self, const char *filePath) |
write int to file
| filePath | path to file |
Definition at line 135 of file libsheepyCSmallInt.h.
| typedef int(* writeFileSmallJsonSmallIntFt) (smallIntt *self, smallJsont *filePath) |
Definition at line 136 of file libsheepyCSmallInt.h.
| typedef int(* writeFileSmallStringSmallIntFt) (smallIntt *self, smallStringt *filePath) |
Definition at line 137 of file libsheepyCSmallInt.h.
Definition at line 138 of file libsheepyCSmallInt.h.
| typedef int(* appendFileSmallIntFt) (smallIntt *self, const char *filePath) |
append int to filePath
| filePath |
Definition at line 149 of file libsheepyCSmallInt.h.
| typedef int(* appendFileSmallStringSmallIntFt) (smallIntt *self, smallStringt *filePath) |
Definition at line 150 of file libsheepyCSmallInt.h.
| void initiateSmallInt | ( | smallIntt * | self | ) |
| void initiateAllocateSmallInt | ( | smallIntt ** | self | ) |
Definition at line 206 of file libsheepyCSmallInt.c.


| void finalizeRecycleSmallInt | ( | void *arg | UNUSED | ) |
| void finalizeSmallInt | ( | void | ) |
| void registerMethodsSmallInt | ( | smallIntFunctionst * | f | ) |
| smallIntt* allocSmallInt | ( | int64_t | value | ) |
Definition at line 241 of file libsheepyCSmallInt.c.


| void cleanUpSmallIntTerminateG | ( | smallIntt ** | val | ) |
Definition at line 255 of file libsheepyCSmallInt.c.
| void cleanUpSmallIntFreeLocalG | ( | smallIntt * | val | ) |
Definition at line 260 of file libsheepyCSmallInt.c.
| void cleanUpSmallIntFreeG | ( | smallIntt ** | val | ) |
Definition at line 265 of file libsheepyCSmallInt.c.
| void cleanUpSmallIntFinishG | ( | smallIntt ** | val | ) |
Definition at line 270 of file libsheepyCSmallInt.c.
Definition at line 946 of file libsheepyCSmallInt.c.
| void freeSmallIntG | ( | smallIntt * | self | ) |
Definition at line 951 of file libsheepyCSmallInt.c.
| int64_t getIntSmallIntG | ( | smallIntt * | self, |
| int64_t retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 953 of file libsheepyCSmallInt.c.
| int64_t* getIntPSmallIntG | ( | smallIntt * | self, |
| int64_t *retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 958 of file libsheepyCSmallInt.c.
| int32_t getInt32SmallIntG | ( | smallIntt * | self, |
| int32_t retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 963 of file libsheepyCSmallInt.c.
| int32_t* getInt32PSmallIntG | ( | smallIntt * | self, |
| int32_t *retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 968 of file libsheepyCSmallInt.c.
| uint64_t getUintSmallIntG | ( | smallIntt * | self, |
| uint64_t retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 973 of file libsheepyCSmallInt.c.
| uint64_t* getUintPSmallIntG | ( | smallIntt * | self, |
| uint64_t *retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 978 of file libsheepyCSmallInt.c.
| uint32_t getUint32SmallIntG | ( | smallIntt * | self, |
| uint32_t retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 983 of file libsheepyCSmallInt.c.
| uint32_t* getUint32PSmallIntG | ( | smallIntt * | self, |
| uint32_t *retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 988 of file libsheepyCSmallInt.c.
Definition at line 993 of file libsheepyCSmallInt.c.
Definition at line 998 of file libsheepyCSmallInt.c.
Definition at line 1003 of file libsheepyCSmallInt.c.
Definition at line 1008 of file libsheepyCSmallInt.c.
Definition at line 1013 of file libsheepyCSmallInt.c.
Definition at line 1018 of file libsheepyCSmallInt.c.
| smallIntt* setSmallBoolSmallIntG | ( | smallIntt * | self, |
| smallBoolt * | p2 | ||
| ) |
Definition at line 1023 of file libsheepyCSmallInt.c.
| smallIntt* setSmallDoubleSmallIntG | ( | smallIntt * | self, |
| smallDoublet * | p2 | ||
| ) |
Definition at line 1028 of file libsheepyCSmallInt.c.
Definition at line 1033 of file libsheepyCSmallInt.c.
| smallIntt* setSmallJsonSmallIntG | ( | smallIntt * | self, |
| smallJsont * | p2 | ||
| ) |
Definition at line 1038 of file libsheepyCSmallInt.c.
| smallIntt* setSmallStringSmallIntG | ( | smallIntt * | self, |
| smallStringt * | p2 | ||
| ) |
Definition at line 1043 of file libsheepyCSmallInt.c.
| bool equalSmallIntChaG | ( | smallIntt * | self, |
| char | p2 | ||
| ) |
Definition at line 1049 of file libsheepyCSmallInt.c.
| bool equalSmallIntCharG | ( | smallIntt * | self, |
| const char * | p2 | ||
| ) |
Definition at line 1054 of file libsheepyCSmallInt.c.
Definition at line 1059 of file libsheepyCSmallInt.c.
| bool equalSmallIntBoolG | ( | smallIntt * | self, |
| bool | p2 | ||
| ) |
Definition at line 1064 of file libsheepyCSmallInt.c.
| bool equalSmallIntDoubleG | ( | smallIntt * | self, |
| double | p2 | ||
| ) |
Definition at line 1069 of file libsheepyCSmallInt.c.
| bool equalSmallIntInt64G | ( | smallIntt * | self, |
| int64_t | p2 | ||
| ) |
Definition at line 1074 of file libsheepyCSmallInt.c.
| bool equalSmallIntInt32G | ( | smallIntt * | self, |
| int32_t | p2 | ||
| ) |
Definition at line 1079 of file libsheepyCSmallInt.c.
| bool equalSmallIntUint32G | ( | smallIntt * | self, |
| uint32_t | p2 | ||
| ) |
Definition at line 1084 of file libsheepyCSmallInt.c.
| bool equalSmallIntUint64G | ( | smallIntt * | self, |
| uint64_t | p2 | ||
| ) |
Definition at line 1089 of file libsheepyCSmallInt.c.
| bool equalSmallIntSmallBoolG | ( | smallIntt * | self, |
| smallBoolt * | p2 | ||
| ) |
Definition at line 1094 of file libsheepyCSmallInt.c.
| bool equalSmallIntSmallBytesG | ( | smallIntt * | self, |
| smallBytest * | p2 | ||
| ) |
Definition at line 1099 of file libsheepyCSmallInt.c.
| bool equalSmallIntSmallDoubleG | ( | smallIntt * | self, |
| smallDoublet * | p2 | ||
| ) |
Definition at line 1104 of file libsheepyCSmallInt.c.
Definition at line 1109 of file libsheepyCSmallInt.c.
| bool equalSmallIntSmallJsonG | ( | smallIntt * | self, |
| smallJsont * | p2 | ||
| ) |
Definition at line 1114 of file libsheepyCSmallInt.c.
| bool equalSmallIntSmallStringG | ( | smallIntt * | self, |
| smallStringt * | p2 | ||
| ) |
Definition at line 1119 of file libsheepyCSmallInt.c.
Definition at line 1124 of file libsheepyCSmallInt.c.
| smallIntt* readFileSmallJsonSmallIntG | ( | smallIntt * | self, |
| smallJsont * | filePath | ||
| ) |
Definition at line 1129 of file libsheepyCSmallInt.c.
| smallIntt* readFileSmallStringSmallIntG | ( | smallIntt * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 1134 of file libsheepyCSmallInt.c.
Definition at line 1139 of file libsheepyCSmallInt.c.
| int writeFileSmallIntG | ( | smallIntt * | self, |
| const char * | filePath | ||
| ) |
Definition at line 1144 of file libsheepyCSmallInt.c.
| int writeFileSmallJsonSmallIntG | ( | smallIntt * | self, |
| smallJsont * | filePath | ||
| ) |
Definition at line 1149 of file libsheepyCSmallInt.c.
| int writeFileSmallStringSmallIntG | ( | smallIntt * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 1154 of file libsheepyCSmallInt.c.
| int writeStreamSmallIntG | ( | smallIntt * | self, |
| FILE * | fp | ||
| ) |
Definition at line 1159 of file libsheepyCSmallInt.c.
| int appendFileSmallIntFG | ( | smallIntt * | self, |
| const char * | filePath | ||
| ) |
Definition at line 1164 of file libsheepyCSmallInt.c.
| int appendFileSmallStringSmallIntG | ( | smallIntt * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 1169 of file libsheepyCSmallInt.c.
1.8.13