1 #include "OptionalType.h"
6 OptionalType::OptionalType()
11 OptionalType::OptionalType(DataType* componentType)
13 this->componentType = componentType;
16 OptionalType::~OptionalType()
18 if(componentType != NULL)
24 DataType* OptionalType::getComponentType()
29 void OptionalType::setComponentType(DataType* componentType)
31 this->componentType = componentType;
34 std::string OptionalType::writeOut(int /*indent*/)
42 if(componentType != NULL)
44 s += componentType->writeOut();