NTRT Simulator  v1.1
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgStructureInfo Class Reference

#include <tgStructureInfo.h>

Inheritance diagram for tgStructureInfo:
Collaboration diagram for tgStructureInfo:

Public Member Functions

 tgStructureInfo (tgStructure &structure, tgBuildSpec &buildSpec)
 
 tgStructureInfo (tgStructure &structure, tgBuildSpec &buildSpec, const tgTags &tags)
 
std::vector< tgRigidInfo * > getAllRigids () const
 
const std::vector
< tgConnectorInfo * > & 
getConnectors () const
 
void buildInto (tgModel &model, tgWorld &world)
 
void addTags (const std::string &space_separated_tags)
 
void addTags (const tgTags &tags)
 
bool hasTag (const std::string tag) const
 
bool hasAllTags (std::string tags)
 
bool hasAnyTags (const std::string tags)
 
bool hasNoTags ()
 
tgTagsgetTags ()
 
const tgTagsgetTags () const
 
void setTags (tgTags tags)
 
std::string getTagStr (std::string delim=" ") const
 

Friends

std::ostream & operator<< (std::ostream &os, const tgStructureInfo &obj)
 

Detailed Description

Representation of a structure containing all info required to build it into a model or extract data for analysis (e.g. a matrix of connections, etc.)

Definition at line 48 of file tgStructureInfo.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const tgStructureInfo obj 
)
friend

Overload operator<<() to handle tgStructureInfo

Parameters
[in,out]osan ostream
[in]areference to a tgStructureInfo
Returns
os
Todo:
Inlining this does no good; stream operations are slow.

Definition at line 374 of file tgStructureInfo.cpp.


The documentation for this class was generated from the following files: