$search

Aseba::ThymioCompiler Class Reference

#include <ThymioIntermediateRepresentation.h>

List of all members.

Public Member Functions

void addButtonSet (ThymioIRButtonSet *set)
vector< wstring >::const_iterator beginCode () const
int buttonToCode (int id) const
void clear ()
void compile ()
vector< wstring >::const_iterator endCode () const
void generateCode ()
ThymioIRErrorCode getErrorCode () const
int getErrorLine () const
void insertButtonSet (int row, ThymioIRButtonSet *set)
bool isSuccessful () const
void removeButtonSet (int row)
void replaceButtonSet (int row, ThymioIRButtonSet *set)
void swap (int row1, int row2)
 ThymioCompiler ()
 ~ThymioCompiler ()

Private Attributes

vector< ThymioIRButtonSet * > buttonSet
ThymioIRCodeGenerator codeGenerator
int errorLine
ThymioIRErrorType errorType
ThymioIRSyntaxChecker syntaxChecker
ThymioIRTypeChecker typeChecker

Detailed Description

Definition at line 177 of file ThymioIntermediateRepresentation.h.


Constructor & Destructor Documentation

Aseba::ThymioCompiler::ThymioCompiler (  ) 

Definition at line 10 of file ThymioCompiler.cpp.

Aseba::ThymioCompiler::~ThymioCompiler (  ) 

Definition at line 19 of file ThymioCompiler.cpp.


Member Function Documentation

void Aseba::ThymioCompiler::addButtonSet ( ThymioIRButtonSet set  ) 

Definition at line 24 of file ThymioCompiler.cpp.

vector< wstring >::const_iterator Aseba::ThymioCompiler::beginCode (  )  const

Definition at line 104 of file ThymioCompiler.cpp.

int Aseba::ThymioCompiler::buttonToCode ( int  id  )  const

Definition at line 58 of file ThymioCompiler.cpp.

void Aseba::ThymioCompiler::clear (  ) 

Definition at line 63 of file ThymioCompiler.cpp.

void Aseba::ThymioCompiler::compile (  ) 

Definition at line 114 of file ThymioCompiler.cpp.

vector< wstring >::const_iterator Aseba::ThymioCompiler::endCode (  )  const

Definition at line 109 of file ThymioCompiler.cpp.

void Aseba::ThymioCompiler::generateCode (  ) 

Definition at line 142 of file ThymioCompiler.cpp.

ThymioIRErrorCode Aseba::ThymioCompiler::getErrorCode (  )  const

Definition at line 73 of file ThymioCompiler.cpp.

int Aseba::ThymioCompiler::getErrorLine (  )  const

Definition at line 99 of file ThymioCompiler.cpp.

void Aseba::ThymioCompiler::insertButtonSet ( int  row,
ThymioIRButtonSet set 
)

Definition at line 29 of file ThymioCompiler.cpp.

bool Aseba::ThymioCompiler::isSuccessful (  )  const

Definition at line 94 of file ThymioCompiler.cpp.

void Aseba::ThymioCompiler::removeButtonSet ( int  row  ) 

Definition at line 37 of file ThymioCompiler.cpp.

void Aseba::ThymioCompiler::replaceButtonSet ( int  row,
ThymioIRButtonSet set 
)

Definition at line 43 of file ThymioCompiler.cpp.

void Aseba::ThymioCompiler::swap ( int  row1,
int  row2 
)

Definition at line 51 of file ThymioCompiler.cpp.


Member Data Documentation

Definition at line 203 of file ThymioIntermediateRepresentation.h.

Definition at line 206 of file ThymioIntermediateRepresentation.h.

Definition at line 210 of file ThymioIntermediateRepresentation.h.

Definition at line 208 of file ThymioIntermediateRepresentation.h.

Definition at line 205 of file ThymioIntermediateRepresentation.h.

Definition at line 204 of file ThymioIntermediateRepresentation.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


aseba
Author(s): Stéphane Magnenat
autogenerated on Sat Mar 2 12:31:56 2013