+
+
+ //==========================================================================
+ void Interpreter::Debug(const std::string& name)
+ {
+ if ((name.length()==2)&&(name[0]=='-'))
+ {
+ if (name[1]=='D')
+ {
+ bbtk::StaticInitTime::PrintObjectListInfo = true;
+ }
+ if (name[1]=='C')
+ {
+ // int o = MessageManager::GetMessageLevel("debug");
+ // if (o<2) MessageManager::SetMessageLevel("debug",2);
+ mVirtualExecuter->GetFactory()->CheckPackages();
+ // MessageManager::SetMessageLevel("debug",o);
+ }
+ }
+ else
+ {
+ Object:: PrintObjectListInfo(name);
+ }
+ }
+ //==========================================================================
+ //==========================================================================
+ std::string Interpreter::GetObjectName() const
+ {
+ return std::string("Interpreter");
+ }
+ //==========================================================================
+
+ //==========================================================================
+ std::string Interpreter::GetObjectInfo() const
+ {
+ std::stringstream i;
+ return i.str();
+ }
+ //==========================================================================
+
+ //==========================================================================
+size_t Interpreter::GetObjectSize() const
+{
+ size_t s = Superclass::GetObjectSize();
+ s += Interpreter::GetObjectInternalSize();
+ return s;
+ }
+ //==========================================================================
+ //==========================================================================
+size_t Interpreter::GetObjectInternalSize() const
+{
+ size_t s = sizeof(Interpreter);
+ return s;
+ }
+ //==========================================================================
+ //==========================================================================
+ size_t Interpreter::GetObjectRecursiveSize() const
+ {
+ size_t s = Superclass::GetObjectRecursiveSize();
+ s += Interpreter::GetObjectInternalSize();
+ s += mVirtualExecuter->GetObjectRecursiveSize();
+ return s;
+ }
+ //==========================================================================