#include <C4MapCreatorS2.h>
Classes | |
| class | int_bool |
Public Member Functions | |
| C4MCNode (C4MCNode *pOwner=nullptr) | |
| C4MCNode (C4MCParser *pParser, C4MCNode *pOwner, C4MCNode &rTemplate, bool fClone) | |
| virtual | ~C4MCNode () |
| virtual C4MCNode * | clone (C4MCParser *pParser, C4MCNode *pToNode) |
| void | Clear () |
| void | Reg2Owner (C4MCNode *pOwner) |
| virtual C4MCNodeType | Type () |
| virtual C4MCOverlay * | Overlay () |
| C4MCOverlay * | OwnerOverlay () |
Public Attributes | |
| C4MCNode * | Owner |
| C4MCNode * | Child0 |
| C4MCNode * | ChildL |
| C4MCNode * | Prev |
| C4MCNode * | Next |
| C4MapCreatorS2 * | MapCreator |
| char | Name [C4MaxName] |
Protected Member Functions | |
| virtual bool | GlobalScope () |
| virtual bool | SetOp (C4MCTokenType eOp) |
| C4MCNode * | GetNodeByName (const char *szName) |
| virtual bool | SetField (C4MCParser *pParser, const char *szField, const char *szSVal, int32_t iVal, C4MCTokenType ValType) |
| int32_t | IntPar (C4MCParser *pParser, const char *szSVal, int32_t iVal, C4MCTokenType ValType) |
| const char * | StrPar (C4MCParser *pParser, const char *szSVal, int32_t iVal, C4MCTokenType ValType) |
| virtual void | Evaluate () |
| void | ReEvaluate () |
Friends | |
| class | C4MCParser |
Definition at line 144 of file C4MapCreatorS2.h.
| C4MCNode::C4MCNode | ( | C4MCNode * | pOwner = nullptr | ) |
Definition at line 184 of file C4MapCreatorS2.cpp.
References Name, and Reg2Owner().
Referenced by clone().
| C4MCNode::C4MCNode | ( | C4MCParser * | pParser, |
| C4MCNode * | pOwner, | ||
| C4MCNode & | rTemplate, | ||
| bool | fClone | ||
| ) |
Definition at line 192 of file C4MapCreatorS2.cpp.
References C4MCErr_NoRecTemplate, Child0, Name, Next, Owner, and Reg2Owner().
|
virtual |
| void C4MCNode::Clear | ( | ) |
Definition at line 240 of file C4MapCreatorS2.cpp.
References Child0.
Referenced by C4MapCreatorS2::Clear(), and ~C4MCNode().
|
inlinevirtual |
Reimplemented in C4MCMap, C4MCPoint, and C4MCOverlay.
Definition at line 156 of file C4MapCreatorS2.h.
References C4MCNode().
|
inlineprotectedvirtual |
Reimplemented in C4MCPoint, and C4MCOverlay.
Definition at line 170 of file C4MapCreatorS2.h.
Referenced by C4MCOverlay::Evaluate(), C4MCPoint::Evaluate(), and ReEvaluate().
|
protected |
Definition at line 255 of file C4MapCreatorS2.cpp.
References ChildL, GetNodeByName(), Owner, Prev, and SEqual().
Referenced by C4MapCreatorS2::GetMap(), and GetNodeByName().
|
inlineprotectedvirtual |
Reimplemented in C4MapCreatorS2.
Definition at line 162 of file C4MapCreatorS2.h.
|
protected |
Definition at line 275 of file C4MapCreatorS2.cpp.
References C4MCErr_FieldValInvalid, MCT_INT, MCT_PERCENT, and MCT_PX.
Referenced by C4MCOverlay::SetField(), and C4MCPoint::SetField().
|
inlinevirtual |
Reimplemented in C4MCOverlay.
Definition at line 187 of file C4MapCreatorS2.h.
Referenced by C4MCOverlay::FirstOfChain(), and C4MCOverlay::PeekPix().
| C4MCOverlay * C4MCNode::OwnerOverlay | ( | ) |
Definition at line 246 of file C4MapCreatorS2.cpp.
References C4MCOverlay::Overlay(), and Owner.
Referenced by C4MCOverlay::Evaluate(), C4MCPoint::Evaluate(), and PreparePeek().
|
protected |
Definition at line 294 of file C4MapCreatorS2.cpp.
References Child0, Evaluate(), and Next.
Referenced by C4MCMap::SetSize().
| void C4MCNode::Reg2Owner | ( | C4MCNode * | pOwner | ) |
Definition at line 216 of file C4MapCreatorS2.cpp.
References Child0, ChildL, MapCreator, Next, Owner, and Prev.
Referenced by C4MCNode().
|
protectedvirtual |
Reimplemented in C4MCPoint, and C4MCOverlay.
Definition at line 269 of file C4MapCreatorS2.cpp.
Referenced by C4MCOverlay::SetField().
|
inlineprotectedvirtual |
Reimplemented in C4MCOverlay.
Definition at line 163 of file C4MapCreatorS2.h.
|
protected |
Definition at line 283 of file C4MapCreatorS2.cpp.
References C4MCErr_FieldValInvalid, and MCT_IDTF.
Referenced by C4MCOverlay::SetField().
|
inlinevirtual |
Reimplemented in C4MCMap, C4MCPoint, and C4MCOverlay.
Definition at line 186 of file C4MapCreatorS2.h.
References MCN_Node.
Referenced by AlgoPolygon(), and C4MapCreatorS2::GetMap().
|
friend |
Definition at line 190 of file C4MapCreatorS2.h.
| C4MCNode * C4MCNode::Child0 |
Definition at line 147 of file C4MapCreatorS2.h.
Referenced by AlgoPolygon(), C4MCNode(), Clear(), ReEvaluate(), Reg2Owner(), C4MCOverlay::RenderPix(), and ~C4MCNode().
| C4MCNode * C4MCNode::ChildL |
Definition at line 147 of file C4MapCreatorS2.h.
Referenced by C4MapCreatorS2::GetMap(), GetNodeByName(), Reg2Owner(), and ~C4MCNode().
| C4MapCreatorS2* C4MCNode::MapCreator |
Definition at line 148 of file C4MapCreatorS2.h.
Referenced by C4MapCreatorS2::C4MapCreatorS2(), C4MCMap::Default(), C4MCOverlay::Evaluate(), Reg2Owner(), C4MCMap::RenderTo(), C4MCOverlay::SetField(), and C4MCMap::SetSize().
| char C4MCNode::Name[C4MaxName] |
Definition at line 149 of file C4MapCreatorS2.h.
Referenced by AlgoScript(), and C4MCNode().
| C4MCNode * C4MCNode::Next |
Definition at line 147 of file C4MapCreatorS2.h.
Referenced by C4MCNode(), C4MCOverlay::PeekPix(), ReEvaluate(), Reg2Owner(), C4MCOverlay::RenderPix(), and ~C4MCNode().
| C4MCNode* C4MCNode::Owner |
Definition at line 147 of file C4MapCreatorS2.h.
Referenced by C4MCNode(), C4MCOverlay::Evaluate(), C4MCPoint::Evaluate(), GetNodeByName(), OwnerOverlay(), Reg2Owner(), and ~C4MCNode().
| C4MCNode * C4MCNode::Prev |
Definition at line 147 of file C4MapCreatorS2.h.
Referenced by AlgoPolygon(), C4MCOverlay::FirstOfChain(), C4MapCreatorS2::GetMap(), GetNodeByName(), Reg2Owner(), and ~C4MCNode().