CodeWriter Class Referenceabstract

#include <RobotAPI/libraries/aron/codegeneration/codegenerator/codewriter/CodeWriter.h>

+ Inheritance diagram for CodeWriter:

Public Member Functions

 CodeWriter ()=delete
 
 CodeWriter (const std::string &producerName, const std::vector< std::string > &additionalIncludesFromXMLFile)
 
virtual void generateTypeIntEnums (const std::vector< typereader::GenerateIntEnumInfo > &)=0
 
virtual void generateTypeObjects (const std::vector< typereader::GenerateObjectInfo > &)=0
 
std::vector< MetaClassPtrgetTypeClasses () const
 
std::vector< MetaEnumPtrgetTypeEnums () const
 
virtual ~CodeWriter ()=default
 

Protected Member Functions

virtual void addSpecificReaderMethods ()=0
 
virtual void addSpecificWriterMethods ()=0
 

Protected Attributes

std::vector< std::string > additionalIncludes
 
std::vector< codegenerator::ReaderInfodictDataReaders
 
std::vector< codegenerator::WriterInfodictDataWriters
 
std::vector< codegenerator::WriterInfoinitialDictTypeWriters
 
std::vector< codegenerator::WriterInfoinitialIntEnumTypeWriters
 
std::vector< codegenerator::ReaderInfointEnumDataReaders
 
std::vector< codegenerator::WriterInfointEnumDataWriters
 
std::string producerName
 
std::vector< codegenerator::StaticReaderInfostaticDictDataReaders
 
std::vector< codegenerator::StaticReaderInfostaticIntEnumDataReaders
 
std::vector< MetaClassPtrtypeClasses
 
std::vector< MetaEnumPtrtypeEnums
 

Detailed Description

Definition at line 46 of file CodeWriter.h.

Constructor & Destructor Documentation

◆ CodeWriter() [1/2]

CodeWriter ( )
delete

◆ CodeWriter() [2/2]

CodeWriter ( const std::string &  producerName,
const std::vector< std::string > &  additionalIncludesFromXMLFile 
)
inline

Definition at line 50 of file CodeWriter.h.

◆ ~CodeWriter()

virtual ~CodeWriter ( )
virtualdefault

Member Function Documentation

◆ addSpecificReaderMethods()

virtual void addSpecificReaderMethods ( )
protectedpure virtual

Implemented in Writer.

◆ addSpecificWriterMethods()

virtual void addSpecificWriterMethods ( )
protectedpure virtual

Implemented in Writer.

◆ generateTypeIntEnums()

virtual void generateTypeIntEnums ( const std::vector< typereader::GenerateIntEnumInfo > &  )
pure virtual

Implemented in Writer.

◆ generateTypeObjects()

virtual void generateTypeObjects ( const std::vector< typereader::GenerateObjectInfo > &  )
pure virtual

Implemented in Writer.

◆ getTypeClasses()

std::vector<MetaClassPtr> getTypeClasses ( ) const
inline

Definition at line 60 of file CodeWriter.h.

+ Here is the caller graph for this function:

◆ getTypeEnums()

std::vector<MetaEnumPtr> getTypeEnums ( ) const
inline

Definition at line 65 of file CodeWriter.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ additionalIncludes

std::vector<std::string> additionalIncludes
protected

Definition at line 91 of file CodeWriter.h.

◆ dictDataReaders

std::vector<codegenerator::ReaderInfo> dictDataReaders
protected

Definition at line 82 of file CodeWriter.h.

◆ dictDataWriters

std::vector<codegenerator::WriterInfo> dictDataWriters
protected

Definition at line 79 of file CodeWriter.h.

◆ initialDictTypeWriters

std::vector<codegenerator::WriterInfo> initialDictTypeWriters
protected

Definition at line 88 of file CodeWriter.h.

◆ initialIntEnumTypeWriters

std::vector<codegenerator::WriterInfo> initialIntEnumTypeWriters
protected

Definition at line 89 of file CodeWriter.h.

◆ intEnumDataReaders

std::vector<codegenerator::ReaderInfo> intEnumDataReaders
protected

Definition at line 83 of file CodeWriter.h.

◆ intEnumDataWriters

std::vector<codegenerator::WriterInfo> intEnumDataWriters
protected

Definition at line 80 of file CodeWriter.h.

◆ producerName

std::string producerName
protected

Definition at line 78 of file CodeWriter.h.

◆ staticDictDataReaders

std::vector<codegenerator::StaticReaderInfo> staticDictDataReaders
protected

Definition at line 85 of file CodeWriter.h.

◆ staticIntEnumDataReaders

std::vector<codegenerator::StaticReaderInfo> staticIntEnumDataReaders
protected

Definition at line 86 of file CodeWriter.h.

◆ typeClasses

std::vector<MetaClassPtr> typeClasses
protected

Definition at line 75 of file CodeWriter.h.

◆ typeEnums

std::vector<MetaEnumPtr> typeEnums
protected

Definition at line 76 of file CodeWriter.h.


The documentation for this class was generated from the following file: