|
ICG 2
Electric Boogaloo
|
#include <SpecifiedSequenceDataType.hpp>
Public Member Functions | |
| SpecifiedSequenceDataType (std::string typeSpecifierName) | |
| ~SpecifiedSequenceDataType ()=default | |
| SpecifiedSequenceDataType (const SpecifiedSequenceDataType< T > &other)=delete | |
| SpecifiedSequenceDataType & | operator= (SpecifiedSequenceDataType< T > rhs)=delete |
| std::vector< void * > | getElementAddresses (void *address) const override |
| Given the address of a sequence of this type, get a list of all the addresses of the elements within. More... | |
| bool | resize (void *address, int n_elems) const |
| resize the underlying container More... | |
| int | getNumElements (void *address) const override |
| Given the address of a sequence of this type, get the number of elements in this sequence. More... | |
| bool | clear (void *address) const override |
| clear the underlying container More... | |
Public Member Functions inherited from SequenceDataType | |
| SequenceDataType (std::string typeSpecifierName, int typeSize, void *(*allocator)(int), void(*deAllocator)(void *)) | |
| Construct an SequenceDataType. More... | |
| SequenceDataType (const SequenceDataType &original)=delete | |
| ~SequenceDataType () | |
| bool | validate (DataTypeInator *dataTypeInator) override |
| Verify that all of the types that are named by this DataType or subordinate DataTypes are resolvable to actual DataTypes in the TypeDictionary. More... | |
| bool | isValid () const override |
| Determine whether this type has already been successfully validated. More... | |
| size_t | getSize () const override |
| void * | createInstance (unsigned int num) const override |
| Create one or more instances of this type. More... | |
| void | deleteInstance (void *address) const override |
| Delete this instance. More... | |
| std::string | getTypeSpecName () const override |
| Get the Type Spec Name object. More... | |
| std::string | makeDeclaration (std::string declarator) const override |
| bool | accept (DataTypeVisitor *visitor) const override |
| std::shared_ptr< const DataType > | getSubType () const |
| Get the type of the elements of this sequence. More... | |
Public Member Functions inherited from DataType | |
| virtual | ~DataType () |
| virtual std::string | toString () const |
|
inline |
|
default |
|
delete |
|
inlineoverridevirtual |
clear the underlying container
| address | address of sequence object to clear |
Implements SequenceDataType.
|
inlineoverridevirtual |
Given the address of a sequence of this type, get a list of all the addresses of the elements within.
| address | pointer to a sequence object |
Implements SequenceDataType.
|
inlineoverridevirtual |
Given the address of a sequence of this type, get the number of elements in this sequence.
| address | pointer to a sequence object |
Implements SequenceDataType.
|
delete |
|
inlinevirtual |
resize the underlying container
| address | address of sequence object to resize |
| n_elems | int num elements to resize to |
Implements SequenceDataType.