VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtGLSLMacro Class Reference

A macro definition. More...

Public Member Functions

 DtGLSLMacro (const DtGLSLToken &iName)
 Constructor. More...
 
 ~DtGLSLMacro ()
 Desctructor. More...
 
DtGLSLToken Expand (int iNumArgs, DtGLSLToken *iArgs, DtGLSLMacro *iMacros)
 Expand the macro value (will not work for functions) More...
 

Public Attributes

DtGLSLToken Name
 Macro name. More...
 
int NumArgs
 Number of arguments. More...
 
DtGLSLTokenArgs
 The names of the arguments. More...
 
DtGLSLToken Value
 The macro value. More...
 
DtGLSLToken Body
 Unparsed macro body (keeps the whole raw unparsed macro body) More...
 
DtGLSLMacroNext
 Next macro in chained list. More...
 
DtGLSLToken(* ExpandFunc )(DtGLSLPreprocessor *iParent, int iNumArgs, DtGLSLToken *iArgs)
 A pointer to function implementation (if macro is really a func) More...
 
bool Expanding
 true if macro expansion is in progress More...
 

Detailed Description

A macro definition.

Constructor & Destructor Documentation

makVrv::DtGLSLMacro::DtGLSLMacro ( const DtGLSLToken iName)

Constructor.

makVrv::DtGLSLMacro::~DtGLSLMacro ( )

Desctructor.

Member Function Documentation

DtGLSLToken makVrv::DtGLSLMacro::Expand ( int  iNumArgs,
DtGLSLToken iArgs,
DtGLSLMacro iMacros 
)

Expand the macro value (will not work for functions)

Member Data Documentation

DtGLSLToken makVrv::DtGLSLMacro::Name

Macro name.

int makVrv::DtGLSLMacro::NumArgs

Number of arguments.

DtGLSLToken* makVrv::DtGLSLMacro::Args

The names of the arguments.

DtGLSLToken makVrv::DtGLSLMacro::Value

The macro value.

DtGLSLToken makVrv::DtGLSLMacro::Body

Unparsed macro body (keeps the whole raw unparsed macro body)

DtGLSLMacro* makVrv::DtGLSLMacro::Next

Next macro in chained list.

DtGLSLToken(* makVrv::DtGLSLMacro::ExpandFunc)(DtGLSLPreprocessor *iParent, int iNumArgs, DtGLSLToken *iArgs)

A pointer to function implementation (if macro is really a func)

bool makVrv::DtGLSLMacro::Expanding

true if macro expansion is in progress


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)