Two simple examples and one advanced are provided:
- bbitmap: big bitmap example (bitmap > 64 bits)
- list_u32: unsigned integer
list
manipulation (equivalentstd::list<uint32_t>
) - map_struct:
map
with a complex struct (strings) (equivalent tostd::map<my_struct_t, void*>
- queue_u32:
queue
(FIFO queue) (equivalent tostd::queue<uint32_t>
) - stack_u32:
stack
(LIFO queue) (equivalent tostd::stack<uint32_t>
) - str: string manipulation example
- Custom type examples using a combination of custom data structures (
set
,data
). These are more efficient and don't have size limits:- custom-gen/my_program_gen: using C++ code generator
cdada-gen
- custom-macro/my_program: using cdada MACROs for code generation
- custom-gen/my_program_gen: using C++ code generator