TorqueScript  0.2
Public Member Functions | Public Attributes | List of all members
TorqueScript::ObjectInstantiationDescriptor Struct Reference

Struct describing a tree of console object initializations. More...

#include <executionscope.hpp>

Public Member Functions

 ObjectInstantiationDescriptor (const std::string typeName, const std::string &name)
 Constructs a new ObjectInstantiationDescriptor. More...
 

Public Attributes

std::string mName
 The name to assign the new console object.
 
std::string mTypeName
 The typename to instantiate the console object as.
 
std::vector< ObjectInstantiationDescriptormChildren
 All children of this object. These will not be initialized until the parent is initialized.
 
std::map< std::string, StoredValuemFieldAssignments
 All resolved field names mapped to the values to set.
 

Detailed Description

Struct describing a tree of console object initializations.

Constructor & Destructor Documentation

◆ ObjectInstantiationDescriptor()

TorqueScript::ObjectInstantiationDescriptor::ObjectInstantiationDescriptor ( const std::string  typeName,
const std::string &  name 
)
inline

Constructs a new ObjectInstantiationDescriptor.

Parameters
typeNameThe console object type to inititalize.
nameThe name of the new object.

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