69 typedef typename myMap::iterator iterator;
77 stela(std::initializer_list<me*>
subs,
const std::string& name =
"");
78 stela(
const me&
rhs,
const std::string& name =
"");
79 stela(
const std::string& name =
"");
82 me& operator[](
const std::string& name);
83 const me& operator[](
const std::string& name)
const BY_CONST_FUNC(
operator[](name));
84 me& operator[](
const nchar* name);
90 explicit operator nbool()
const;
93 me& sub(
const std::string& name);
102 nbool has(
const std::string& name)
const;
109 void add(
const stela& it);
119 void add(std::initializer_list<stela*>
subs);
120 void del(
const stela& it);
122 void del(
const std::string& name);
124 void del(
const nchar* name);
132 const std::string& getPrefix()
const;
133 void setPrefix(
const std::string&
newPrefix);
138 const std::string& getPostfix()
const;
139 void setPostfix(
const std::string&
newPostfix);
142 const std::string& getName()
const;
143 void setName(
const std::string&
newName);
144 void setName(
const std::string* it)
BY_SIDE_FUNC(setName);
158 virtual nint asInt()
const;
165 virtual nchar asChar()
const;
171 virtual const std::string& asStr()
const;
178 virtual nbool asBool()
const;
183 virtual nbool isExist()
const;
194 std::string _postfix;
Base class for all managed instances in memlite system.
Definition instance.hpp:41
Traversal context handed to every stelaVisitor callback.
Definition stelaVisitInfo.hpp:17
Preorder visitor for the stela AST.
Definition stelaVisitor.hpp:30
Rich logging support with polymorphic type conversion.
Definition richLog.hpp:34