A macro definition. More...
Public Member Functions | |
Macro (const Token &iName) | |
Macro (const Token &iName) | |
~Macro () | |
~Macro () | |
Token | Expand (int iNumArgs, Token *iArgs, Macro *iMacros) |
Expand the macro value (will not work for functions) More... | |
Token | Expand (int iNumArgs, Token *iArgs, Macro *iMacros) |
Expand the macro value (will not work for functions) More... | |
Public Attributes | |
Token * | Args |
The names of the arguments. More... | |
Token | Body |
Unparsed macro body (keeps the whole raw unparsed macro body) More... | |
Token(* | ExpandFunc )(CPreprocessor *iParent, int iNumArgs, Token *iArgs) |
A pointer to function implementation (if macro is really a func) More... | |
bool | Expanding |
true if macro expansion is in progress More... | |
Token | Name |
Macro name. More... | |
Macro * | Next |
Next macro in chained list. More... | |
int | NumArgs |
Number of arguments. More... | |
Token | Value |
The macro value. More... | |
A macro definition.
Definition at line 172 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Ogre::CPreprocessor::Macro::Macro | ( | const Token & | iName | ) |
Definition at line 192 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Ogre::CPreprocessor::Macro::~Macro | ( | ) |
Definition at line 197 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Ogre::CPreprocessor::Macro::Macro | ( | const Token & | iName | ) |
Definition at line 192 of file OgreGLSLESPreprocessor.h.
Ogre::CPreprocessor::Macro::~Macro | ( | ) |
Definition at line 197 of file OgreGLSLESPreprocessor.h.
References Ogre::CPreprocessor::BOL, Ogre::CPreprocessor::CPreprocessor(), Ogre::CPreprocessor::EnableOutput, Ogre::CPreprocessor::Error(), Ogre::CPreprocessor::ExpandDefined(), Ogre::CPreprocessor::ExpandMacro(), Ogre::CPreprocessor::GetArgument(), Ogre::CPreprocessor::GetArguments(), Ogre::CPreprocessor::GetExpression(), Ogre::CPreprocessor::GetToken(), Ogre::CPreprocessor::Token::GetValue(), Ogre::CPreprocessor::HandleDefine(), Ogre::CPreprocessor::HandleDirective(), Ogre::CPreprocessor::HandleElse(), Ogre::CPreprocessor::HandleEndIf(), Ogre::CPreprocessor::HandleIf(), Ogre::CPreprocessor::HandleIfDef(), Ogre::CPreprocessor::HandleUnDef(), Ogre::CPreprocessor::IsDefined(), Ogre::CPreprocessor::Line, Ogre::CPreprocessor::MacroList, Ogre::CPreprocessor::Parse(), Ogre::CPreprocessor::Source, and Ogre::CPreprocessor::SourceEnd.
Expand the macro value (will not work for functions)
Expand the macro value (will not work for functions)
Token * Ogre::CPreprocessor::Macro::Args |
The names of the arguments.
Definition at line 180 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Token Ogre::CPreprocessor::Macro::Body |
Unparsed macro body (keeps the whole raw unparsed macro body)
Definition at line 184 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Token(* Ogre::CPreprocessor::Macro::ExpandFunc)(CPreprocessor *iParent, int iNumArgs, Token *iArgs) |
A pointer to function implementation (if macro is really a func)
Definition at line 188 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
bool Ogre::CPreprocessor::Macro::Expanding |
true if macro expansion is in progress
Definition at line 190 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Token Ogre::CPreprocessor::Macro::Name |
Macro name.
Definition at line 176 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Macro * Ogre::CPreprocessor::Macro::Next |
Next macro in chained list.
Definition at line 186 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
int Ogre::CPreprocessor::Macro::NumArgs |
Number of arguments.
Definition at line 178 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Token Ogre::CPreprocessor::Macro::Value |
The macro value.
Definition at line 182 of file Plus/src/GLSL/include/OgreGLSLPreprocessor.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun Oct 22 2017 04:04:15