|
libsheepy
|
#include <stdbool.h>

Go to the source code of this file.
Data Structures | |
| struct | smallBoolFunctionst |
| struct | smallBool |
| class More... | |
Macros | |
| #define | helpTextSmallBool "TODO smallBool 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" helpTextSmallBool; More... | |
| #define | cBo(self) ( (smallBoolt*) self ) |
| #define | SMALLBOOLFUNCTIONST |
| class functions allocated once for all objects More... | |
| #define | createSmallBool(obj) ;smallBoolt obj; initiateSmallBool(&obj) |
| #define | createAllocateSmallBool(obj) ;smallBoolt *obj; initiateAllocateSmallBool(&obj) |
| #define | cleanSmallBoolP(name) smallBoolt *name CLEANUP(cleanUpSmallBoolTerminateG) |
| declare pointer name with type smallBoolt and terminate name when it is out of scope More... | |
| #define | cleanAllocateSmallBool(obj) ;cleanSmallBoolP(obj); initiateAllocateSmallBool(&obj) |
| allocate smallBool (pointer) and clean up when it is out of scope More... | |
| #define | cleanSmallBool(name) smallBoolt name CLEANUP(cleanUpSmallBoolFreeLocalG); initiateSmallBool(&name) |
| declare local object name with type smallBoolt and free name when it is out of scope More... | |
| #define | cleanFreeSmallBool(name) smallBoolt *name CLEANUP(cleanUpSmallBoolFreeG) |
| declare pointer name with type smallBoolt and free name when it is out of scope More... | |
| #define | cleanFinishSmallBoolP(name) smallBoolt *name CLEANUP(cleanUpSmallBoolFinishG) |
| declare pointer name with Type smallBoolt and finish name when it is out of scope More... | |
| #define helpTextSmallBool "TODO smallBool 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" helpTextSmallBool;
Definition at line 34 of file libsheepyCSmallBool.h.
| #define cBo | ( | self | ) | ( (smallBoolt*) self ) |
Definition at line 37 of file libsheepyCSmallBool.h.
| #define SMALLBOOLFUNCTIONST |
class functions allocated once for all objects
freed with finalizeSmallBool 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 170 of file libsheepyCSmallBool.h.
| #define createSmallBool | ( | obj | ) | ;smallBoolt obj; initiateSmallBool(&obj) |
Definition at line 234 of file libsheepyCSmallBool.h.
| #define createAllocateSmallBool | ( | obj | ) | ;smallBoolt *obj; initiateAllocateSmallBool(&obj) |
Definition at line 235 of file libsheepyCSmallBool.h.
| #define cleanSmallBoolP | ( | name | ) | smallBoolt *name CLEANUP(cleanUpSmallBoolTerminateG) |
declare pointer name with type smallBoolt and terminate name when it is out of scope
Definition at line 262 of file libsheepyCSmallBool.h.
| #define cleanAllocateSmallBool | ( | obj | ) | ;cleanSmallBoolP(obj); initiateAllocateSmallBool(&obj) |
allocate smallBool (pointer) and clean up when it is out of scope
Definition at line 267 of file libsheepyCSmallBool.h.
| #define cleanSmallBool | ( | name | ) | smallBoolt name CLEANUP(cleanUpSmallBoolFreeLocalG); initiateSmallBool(&name) |
declare local object name with type smallBoolt and free name when it is out of scope
Definition at line 272 of file libsheepyCSmallBool.h.
| #define cleanFreeSmallBool | ( | name | ) | smallBoolt *name CLEANUP(cleanUpSmallBoolFreeG) |
declare pointer name with type smallBoolt and free name when it is out of scope
Definition at line 277 of file libsheepyCSmallBool.h.
| #define cleanFinishSmallBoolP | ( | name | ) | smallBoolt *name CLEANUP(cleanUpSmallBoolFinishG) |
declare pointer name with Type smallBoolt and finish name when it is out of scope
Definition at line 282 of file libsheepyCSmallBool.h.
| typedef struct smallBool smallBoolt |
Definition at line 27 of file libsheepyCSmallBool.h.
| typedef void(* freeSmallBoolFt) (smallBoolt *self) |
Definition at line 39 of file libsheepyCSmallBool.h.
| typedef void(* terminateSmallBoolFt) (smallBoolt **self) |
Definition at line 40 of file libsheepyCSmallBool.h.
| typedef char*(* toStringSmallBoolFt) (smallBoolt *self) |
Definition at line 41 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* duplicateSmallBoolFt) (smallBoolt *self) |
Definition at line 42 of file libsheepyCSmallBool.h.
| typedef void(* smashSmallBoolFt) (smallBoolt **self) |
free self but not the smallBool buffer
Useful when smallBool buffer is shared or when the buffer holds a static smallBool
Definition at line 51 of file libsheepyCSmallBool.h.
| typedef void(* finishSmallBoolFt) (smallBoolt **self) |
free container
Definition at line 56 of file libsheepyCSmallBool.h.
| typedef const char*(* helpSmallBoolFt) (smallBoolt *self) |
Definition at line 58 of file libsheepyCSmallBool.h.
| typedef bool(* getSmallBoolFt) (smallBoolt *self) |
get a copy of smallBool
The returned smallBool needs to be freed
Definition at line 68 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setSmallBoolFt) (smallBoolt *self, bool value) |
set smallBool
| string | buffer to store in object (the buffer is duplicated) |
Definition at line 76 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setDoubleSmallBoolFt) (smallBoolt *self, double p2) |
Definition at line 78 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setInt64SmallBoolFt) (smallBoolt *self, int64_t p2) |
Definition at line 79 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setInt32SmallBoolFt) (smallBoolt *self, int32_t p2) |
Definition at line 80 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setUint32SmallBoolFt) (smallBoolt *self, uint32_t p2) |
Definition at line 81 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setUint64SmallBoolFt) (smallBoolt *self, uint64_t p2) |
Definition at line 82 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setSSmallBoolFt) (smallBoolt *self, const char *p2) |
Definition at line 83 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setSmallBoolSmallBoolFt) (smallBoolt *self, smallBoolt *p2) |
Definition at line 84 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setSmallDoubleSmallBoolFt) (smallBoolt *self, smallDoublet *p2) |
Definition at line 85 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setSmallIntSmallBoolFt) (smallBoolt *self, smallIntt *p2) |
Definition at line 86 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setSmallJsonSmallBoolFt) (smallBoolt *self, smallJsont *p2) |
Definition at line 87 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* setSmallStringSmallBoolFt) (smallBoolt *self, smallStringt *p2) |
Definition at line 88 of file libsheepyCSmallBool.h.
| typedef bool*(* getPSmallBoolFt) (smallBoolt *self) |
| typedef bool(* equalSmallBoolCharFt) (smallBoolt *self, const char *p2) |
Definition at line 98 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolBaseFt) (smallBoolt *self, baset *p2) |
Definition at line 99 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolBoolFt) (smallBoolt *self, bool p2) |
Definition at line 100 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolDoubleFt) (smallBoolt *self, double p2) |
Definition at line 101 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolInt64Ft) (smallBoolt *self, int64_t p2) |
Definition at line 102 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolInt32Ft) (smallBoolt *self, int32_t p2) |
Definition at line 103 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolUint32Ft) (smallBoolt *self, uint32_t p2) |
Definition at line 104 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolUint64Ft) (smallBoolt *self, uint64_t p2) |
Definition at line 105 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolFt) (smallBoolt *self, smallBoolt *p2) |
Definition at line 106 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolSmallDoubleFt) (smallBoolt *self, smallDoublet *p2) |
Definition at line 107 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolSmallIntFt) (smallBoolt *self, smallIntt *p2) |
Definition at line 108 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolSmallJsonFt) (smallBoolt *self, smallJsont *p2) |
Definition at line 109 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolSmallStringFt) (smallBoolt *self, smallStringt *p2) |
Definition at line 110 of file libsheepyCSmallBool.h.
| typedef bool(* equalSmallBoolSmallBytesFt) (smallBoolt *self, smallBytest *p2) |
Definition at line 111 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* readFileSmallBoolFt) (smallBoolt *self, const char *filePath) |
read file to bool
| filePath | path to file |
Definition at line 122 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* readFileSmallJsonSmallBoolFt) (smallBoolt *self, smallJsont *filePath) |
Definition at line 123 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* readFileSmallStringSmallBoolFt) (smallBoolt *self, smallStringt *filePath) |
Definition at line 124 of file libsheepyCSmallBool.h.
| typedef smallBoolt*(* readStreamSmallBoolFt) (smallBoolt *self, FILE *fp) |
Definition at line 125 of file libsheepyCSmallBool.h.
| typedef int(* writeFileSmallBoolFt) (smallBoolt *self, const char *filePath) |
write bool to file
| filePath | path to file |
Definition at line 136 of file libsheepyCSmallBool.h.
| typedef int(* writeFileSmallJsonSmallBoolFt) (smallBoolt *self, smallJsont *filePath) |
Definition at line 137 of file libsheepyCSmallBool.h.
| typedef int(* writeFileSmallStringSmallBoolFt) (smallBoolt *self, smallStringt *filePath) |
Definition at line 138 of file libsheepyCSmallBool.h.
| typedef int(* writeStreamSmallBoolFt) (smallBoolt *self, FILE *fp) |
Definition at line 139 of file libsheepyCSmallBool.h.
| typedef int(* appendFileSmallBoolFt) (smallBoolt *self, const char *filePath) |
append bool to filePath
| filePath |
Definition at line 150 of file libsheepyCSmallBool.h.
| typedef int(* appendFileSmallStringSmallBoolFt) (smallBoolt *self, smallStringt *filePath) |
Definition at line 151 of file libsheepyCSmallBool.h.
| void initiateSmallBool | ( | smallBoolt * | self | ) |
| void initiateAllocateSmallBool | ( | smallBoolt ** | self | ) |
Definition at line 199 of file libsheepyCSmallBool.c.


| void finalizeRecycleSmallBool | ( | void *arg | UNUSED | ) |
| void finalizeSmallBool | ( | void | ) |
| void registerMethodsSmallBool | ( | smallBoolFunctionst * | f | ) |
| smallBoolt* allocSmallBool | ( | bool | value | ) |
Definition at line 235 of file libsheepyCSmallBool.c.


| void cleanUpSmallBoolTerminateG | ( | smallBoolt ** | val | ) |
Definition at line 247 of file libsheepyCSmallBool.c.
| void cleanUpSmallBoolFreeLocalG | ( | smallBoolt * | val | ) |
Definition at line 252 of file libsheepyCSmallBool.c.
| void cleanUpSmallBoolFreeG | ( | smallBoolt ** | val | ) |
Definition at line 257 of file libsheepyCSmallBool.c.
| void cleanUpSmallBoolFinishG | ( | smallBoolt ** | val | ) |
Definition at line 262 of file libsheepyCSmallBool.c.
| smallBoolt* duplicateSmallBoolG | ( | smallBoolt * | self | ) |
Definition at line 949 of file libsheepyCSmallBool.c.
| void freeSmallBoolG | ( | smallBoolt * | self | ) |
Definition at line 954 of file libsheepyCSmallBool.c.
| bool getBoolSmallBoolG | ( | smallBoolt * | self, |
| bool retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 956 of file libsheepyCSmallBool.c.
| bool* getBoolPSmallBoolG | ( | smallBoolt * | self, |
| bool *retType | UNUSED, | ||
| int64_t index | UNUSED | ||
| ) |
Definition at line 961 of file libsheepyCSmallBool.c.
| smallBoolt* setSmallBoolG | ( | smallBoolt * | self, |
| bool | p2 | ||
| ) |
Definition at line 966 of file libsheepyCSmallBool.c.
| smallBoolt* setDoubleSmallBoolG | ( | smallBoolt * | self, |
| double | p2 | ||
| ) |
Definition at line 971 of file libsheepyCSmallBool.c.
| smallBoolt* setInt64SmallBoolG | ( | smallBoolt * | self, |
| int64_t | p2 | ||
| ) |
Definition at line 976 of file libsheepyCSmallBool.c.
| smallBoolt* setInt32SmallBoolG | ( | smallBoolt * | self, |
| int32_t | p2 | ||
| ) |
Definition at line 981 of file libsheepyCSmallBool.c.
| smallBoolt* setUint32SmallBoolG | ( | smallBoolt * | self, |
| uint32_t | p2 | ||
| ) |
Definition at line 986 of file libsheepyCSmallBool.c.
| smallBoolt* setUint64SmallBoolG | ( | smallBoolt * | self, |
| uint64_t | p2 | ||
| ) |
Definition at line 991 of file libsheepyCSmallBool.c.
| smallBoolt* setSSmallBoolG | ( | smallBoolt * | self, |
| const char * | p2 | ||
| ) |
Definition at line 996 of file libsheepyCSmallBool.c.
| smallBoolt* setSmallBoolSmallBoolG | ( | smallBoolt * | self, |
| smallBoolt * | p2 | ||
| ) |
Definition at line 1001 of file libsheepyCSmallBool.c.
| smallBoolt* setSmallDoubleSmallBoolG | ( | smallBoolt * | self, |
| smallDoublet * | p2 | ||
| ) |
Definition at line 1006 of file libsheepyCSmallBool.c.
| smallBoolt* setSmallIntSmallBoolG | ( | smallBoolt * | self, |
| smallIntt * | p2 | ||
| ) |
Definition at line 1011 of file libsheepyCSmallBool.c.
| smallBoolt* setSmallJsonSmallBoolG | ( | smallBoolt * | self, |
| smallJsont * | p2 | ||
| ) |
Definition at line 1016 of file libsheepyCSmallBool.c.
| smallBoolt* setSmallStringSmallBoolG | ( | smallBoolt * | self, |
| smallStringt * | p2 | ||
| ) |
Definition at line 1021 of file libsheepyCSmallBool.c.
| bool equalSmallBoolCharG | ( | smallBoolt * | self, |
| const char * | p2 | ||
| ) |
Definition at line 1027 of file libsheepyCSmallBool.c.
| bool equalSmallBoolBaseG | ( | smallBoolt * | self, |
| baset * | p2 | ||
| ) |
Definition at line 1032 of file libsheepyCSmallBool.c.
| bool equalSmallBoolBoolG | ( | smallBoolt * | self, |
| bool | p2 | ||
| ) |
Definition at line 1037 of file libsheepyCSmallBool.c.
| bool equalSmallBoolDoubleG | ( | smallBoolt * | self, |
| double | p2 | ||
| ) |
Definition at line 1042 of file libsheepyCSmallBool.c.
| bool equalSmallBoolInt64G | ( | smallBoolt * | self, |
| int64_t | p2 | ||
| ) |
Definition at line 1047 of file libsheepyCSmallBool.c.
| bool equalSmallBoolInt32G | ( | smallBoolt * | self, |
| int32_t | p2 | ||
| ) |
Definition at line 1052 of file libsheepyCSmallBool.c.
| bool equalSmallBoolUint32G | ( | smallBoolt * | self, |
| uint32_t | p2 | ||
| ) |
Definition at line 1057 of file libsheepyCSmallBool.c.
| bool equalSmallBoolUint64G | ( | smallBoolt * | self, |
| uint64_t | p2 | ||
| ) |
Definition at line 1062 of file libsheepyCSmallBool.c.
| bool equalSmallBoolFG | ( | smallBoolt * | self, |
| smallBoolt * | p2 | ||
| ) |
Definition at line 1067 of file libsheepyCSmallBool.c.
| bool equalSmallBoolSmallDoubleG | ( | smallBoolt * | self, |
| smallDoublet * | p2 | ||
| ) |
Definition at line 1077 of file libsheepyCSmallBool.c.
| bool equalSmallBoolSmallIntG | ( | smallBoolt * | self, |
| smallIntt * | p2 | ||
| ) |
Definition at line 1082 of file libsheepyCSmallBool.c.
| bool equalSmallBoolSmallJsonG | ( | smallBoolt * | self, |
| smallJsont * | p2 | ||
| ) |
Definition at line 1087 of file libsheepyCSmallBool.c.
| bool equalSmallBoolSmallStringG | ( | smallBoolt * | self, |
| smallStringt * | p2 | ||
| ) |
Definition at line 1092 of file libsheepyCSmallBool.c.
| bool equalSmallBoolSmallBytesG | ( | smallBoolt * | self, |
| smallBytest * | p2 | ||
| ) |
Definition at line 1072 of file libsheepyCSmallBool.c.
| smallBoolt* readFileSmallBoolG | ( | smallBoolt * | self, |
| const char * | filePath | ||
| ) |
Definition at line 1097 of file libsheepyCSmallBool.c.
| smallBoolt* readFileSmallJsonSmallBoolG | ( | smallBoolt * | self, |
| smallJsont * | filePath | ||
| ) |
Definition at line 1102 of file libsheepyCSmallBool.c.
| smallBoolt* readFileSmallStringSmallBoolG | ( | smallBoolt * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 1107 of file libsheepyCSmallBool.c.
| smallBoolt* readStreamSmallBoolG | ( | smallBoolt * | self, |
| FILE * | fp | ||
| ) |
Definition at line 1112 of file libsheepyCSmallBool.c.
| int writeFileSmallBoolG | ( | smallBoolt * | self, |
| const char * | filePath | ||
| ) |
Definition at line 1117 of file libsheepyCSmallBool.c.
| int writeFileSmallJsonSmallBoolG | ( | smallBoolt * | self, |
| smallJsont * | filePath | ||
| ) |
Definition at line 1122 of file libsheepyCSmallBool.c.
| int writeFileSmallStringSmallBoolG | ( | smallBoolt * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 1127 of file libsheepyCSmallBool.c.
| int writeStreamSmallBoolG | ( | smallBoolt * | self, |
| FILE * | fp | ||
| ) |
Definition at line 1132 of file libsheepyCSmallBool.c.
| int appendFileSmallBoolFG | ( | smallBoolt * | self, |
| const char * | filePath | ||
| ) |
Definition at line 1137 of file libsheepyCSmallBool.c.
| int appendFileSmallStringSmallBoolG | ( | smallBoolt * | self, |
| smallStringt * | filePath | ||
| ) |
Definition at line 1142 of file libsheepyCSmallBool.c.
1.8.13