HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CH_WriteCode Class Reference

#include <CH_WriteCode.h>

Public Member Functions

 CH_WriteCode ()
 
virtual ~CH_WriteCode ()
 
int writeCode (CH_Channel *chan, std::ostream &os, std::ostream &gs, const UT_String &prefix, const UT_String &mainprefix, int isstatic=1, int forcetype=-1)
 
virtual void expandExpression (UT_String &expr)
 
virtual void startExpressionBlock (std::ostream &gs)
 
virtual void stopExpressionBlock (std::ostream &gs)
 

Static Public Member Functions

static void writeChannelType (std::ostream &os, CH_ChannelBehavior type)
 
static void writeFloat (std::ostream &os, fpreal val)
 

Protected Member Functions

void writeIndent (std::ostream &os, int level)
 
void writeSpaces (std::ostream &os, int spaces)
 

Protected Attributes

int myTabSpace
 

Detailed Description

Definition at line 22 of file CH_WriteCode.h.

Constructor & Destructor Documentation

CH_WriteCode::CH_WriteCode ( )
virtual CH_WriteCode::~CH_WriteCode ( )
virtual

Member Function Documentation

virtual void CH_WriteCode::expandExpression ( UT_String expr)
virtual
virtual void CH_WriteCode::startExpressionBlock ( std::ostream &  gs)
virtual
virtual void CH_WriteCode::stopExpressionBlock ( std::ostream &  gs)
virtual
static void CH_WriteCode::writeChannelType ( std::ostream &  os,
CH_ChannelBehavior  type 
)
static
int CH_WriteCode::writeCode ( CH_Channel chan,
std::ostream &  os,
std::ostream &  gs,
const UT_String prefix,
const UT_String mainprefix,
int  isstatic = 1,
int  forcetype = -1 
)
static void CH_WriteCode::writeFloat ( std::ostream &  os,
fpreal  val 
)
static
void CH_WriteCode::writeIndent ( std::ostream &  os,
int  level 
)
protected
void CH_WriteCode::writeSpaces ( std::ostream &  os,
int  spaces 
)
protected

Member Data Documentation

int CH_WriteCode::myTabSpace
protected

Definition at line 58 of file CH_WriteCode.h.


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