|
ICG 2
Electric Boogaloo
|
#include <SpecifiedPrimitiveDataType.hpp>
Public Member Functions | |
| SpecifiedPrimitiveDataType () | |
| SpecifiedPrimitiveDataType (const SpecifiedPrimitiveDataType< T > &original)=default | |
| ~SpecifiedPrimitiveDataType ()=default | |
| SpecifiedPrimitiveDataType< T > & | operator= (SpecifiedPrimitiveDataType< T > &rhs)=default |
| bool | validate (DataTypeInator *dataTypeInator=NULL) 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 |
| void | deleteInstance (void *address) const override |
| Delete this instance. More... | |
| void | clearValue (void *address) const |
| Clear the variable at the given address. More... | |
| bool | assignValue (void *address, Value *value) const |
| Value * | getValue (void *address) const |
| Creates a Value object for the variable at the given address. More... | |
| void | printValue (std::ostream &s, void *address) const |
| std::string | getTypeSpecName () const |
| bool | isFloatingPoint () const |
| bool | isSigned () const |
| bool | isVoid () const |
| bool | isFloatingPoint () const |
| Determine whether this is an integer type or floating point type. More... | |
| bool | isFloatingPoint () const |
| Determine whether this is an integer type or floating point type. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isVoid () const |
| Is the type void? More... | |
| void | printValue (std::ostream &s, void *address) const |
| Print an ascii representation of the value at the given address to the stream. More... | |
| void | printValue (std::ostream &s, void *address) const |
| Print an ascii representation of the value at the given address to the stream. More... | |
| size_t | getSize () const |
| The size (in bytes) of an instance of the DataType. More... | |
| void * | createInstance (unsigned int num) const |
| Create one or more instances of this type. More... | |
| void | deleteInstance (void *address) const |
| Delete this instance. More... | |
| void | clearValue (void *address) const |
| Clear the variable at the given address. More... | |
| bool | assignValue (void *address, Value *value) const |
| Assign a value to the variable at the given address. More... | |
| void | printValue (std::ostream &s, void *address) const |
| Print an ascii representation of the value at the given address to the stream. More... | |
| Value * | getValue (void *address) const |
| Creates a Value object for the variable at the given address. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| std::string | getTypeSpecName () const |
| Get the Type Spec Name object. More... | |
| bool | isFloatingPoint () const |
| Determine whether this is an integer type or floating point type. More... | |
| bool | isFloatingPoint () const |
| Determine whether this is an integer type or floating point type. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isSigned () const |
| Determine whether type is signed. More... | |
| bool | isVoid () const |
| Is the type void? More... | |
| void | printValue (std::ostream &s, void *address) const |
| Print an ascii representation of the value at the given address to the stream. More... | |
| void | printValue (std::ostream &s, void *address) const |
| Print an ascii representation of the value at the given address to the stream. More... | |
| size_t | getSize () const |
| The size (in bytes) of an instance of the DataType. More... | |
| void | deleteInstance (void *address) const |
| Delete this instance. More... | |
| void * | createInstance (unsigned int num) const |
| Create one or more instances of this type. More... | |
| void | clearValue (void *address) const |
| Clear the variable at the given address. More... | |
| bool | assignValue (void *address, Value *value) const |
| Assign a value to the variable at the given address. More... | |
| void | printValue (std::ostream &s, void *address) const |
| Print an ascii representation of the value at the given address to the stream. More... | |
| Value * | getValue (void *address) const |
| Creates a Value object for the variable at the given address. More... | |
Public Member Functions inherited from PrimitiveDataType | |
| PrimitiveDataType () | |
| ~PrimitiveDataType () | |
| bool | accept (DataTypeVisitor *visitor) const override |
Public Member Functions inherited from DataType | |
| virtual | ~DataType () |
| virtual std::string | makeDeclaration (std::string declarator) const |
| virtual std::string | toString () const |
|
inline |
|
default |
|
default |
|
inlinevirtual |
Assign a value to the variable at the given address.
| address | Address of the variable. |
| value | Value to be assigned to the variable. |
Implements PrimitiveDataType.
|
virtual |
Assign a value to the variable at the given address.
| address | Address of the variable. |
| value | Value to be assigned to the element. |
Implements PrimitiveDataType.
|
virtual |
Assign a value to the variable at the given address.
| address | Address of the variable. |
| value | Value to be assigned to the element. |
Implements PrimitiveDataType.
|
inlinevirtual |
Clear the variable at the given address.
| address | Address of the variable. |
Implements PrimitiveDataType.
|
virtual |
Clear the variable at the given address.
| address | Address of the variable. |
Implements PrimitiveDataType.
|
virtual |
Clear the variable at the given address.
| address | Address of the variable. |
Implements PrimitiveDataType.
|
virtual |
Create one or more instances of this type.
| n | number to create |
Implements DataType.
|
virtual |
Create one or more instances of this type.
| n | number to create |
Implements DataType.
|
inlineoverridevirtual |
Implements DataType.
|
virtual |
Delete this instance.
| address | of instance to delete |
Implements DataType.
|
virtual |
Delete this instance.
| address | of instance to delete |
Implements DataType.
|
inlineoverridevirtual |
Delete this instance.
| address | of instance to delete |
Implements DataType.
|
virtual |
|
virtual |
|
inlineoverridevirtual |
|
inlinevirtual |
Get a string representation of this SpecifiedPrimitiveDataType's type-specifier.
Implements DataType.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Creates a Value object for the variable at the given address.
| address | Address of the variable. |
Implements PrimitiveDataType.
|
virtual |
Creates a Value object for the variable at the given address.
| address | Address of the variable. |
Implements PrimitiveDataType.
|
virtual |
Creates a Value object for the variable at the given address.
| address | Address of the variable. |
Implements PrimitiveDataType.
|
inlinevirtual |
Return true if T is float or double. Otherwise return false.
Implements PrimitiveDataType.
|
virtual |
Determine whether this is an integer type or floating point type.
Implements PrimitiveDataType.
|
virtual |
Determine whether this is an integer type or floating point type.
Implements PrimitiveDataType.
|
virtual |
Determine whether this is an integer type or floating point type.
Implements PrimitiveDataType.
|
virtual |
Determine whether this is an integer type or floating point type.
Implements PrimitiveDataType.
|
inlinevirtual |
Return true if T is char, short, int, long, or long long. Otherwise return false.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
virtual |
Determine whether type is signed.
Implements PrimitiveDataType.
|
inlineoverridevirtual |
Determine whether this type has already been successfully validated.
Implements DataType.
|
inlinevirtual |
Return true if DataType is void. Otherwise return false.
Implements PrimitiveDataType.
|
virtual |
|
virtual |
|
default |
|
inlinevirtual |
Print the value of the variable at the given address, to the given stream.
| s | The stream to print to. |
| address | Address of the variable. |
Implements PrimitiveDataType.
|
virtual |
Print an ascii representation of the value at the given address to the stream.
Implements PrimitiveDataType.
|
virtual |
Print an ascii representation of the value at the given address to the stream.
Implements PrimitiveDataType.
|
virtual |
Print an ascii representation of the value at the given address to the stream.
Implements PrimitiveDataType.
|
virtual |
Print an ascii representation of the value at the given address to the stream.
Implements PrimitiveDataType.
|
virtual |
Print an ascii representation of the value at the given address to the stream.
Implements PrimitiveDataType.
|
virtual |
Print an ascii representation of the value at the given address to the stream.
Implements PrimitiveDataType.
|
inlineoverridevirtual |
Verify that all of the types that are named by this DataType or subordinate DataTypes are resolvable to actual DataTypes in the TypeDictionary.
| dataTypeInator | - type resolver machine |
Implements DataType.