| void scl::runtime_memory_block::add_element | ( | const std::string & | name, |
| const std::string & | type ) |
Add a element to object_, means a memory block will be occupied with given param type.
| [in] | name | The name of parameter. |
| [in] | type | The type of parameter. |
Only allow add to object_ with parameter that has not added.
Recording current parameter's position to object_.
Add to bytes_ with parameter type.
Only allow add to object_ with parameter that has not added.
Recording current parameter's position to object_.
Add to bytes_ with parameter type.
Definition at line 21 of file RuntimeMemoryBlock.cpp.
Referenced by SpicesTest::TEST_F(), and SpicesTest::TEST_F().