A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
StaticInformation Class Reference
+ Collaboration diagram for StaticInformation:

Public Member Functions

void Gather (TypeId tid)
std::vector< std::string > Get (TypeId tid)
void Print (void) const
void RecordAggregationInfo (std::string a, std::string b)

Private Member Functions

void DoGather (TypeId tid)
void find_and_replace (std::string &source, const std::string find, std::string replace)
std::string GetCurrentPath (void) const
bool HasAlreadyBeenProcessed (TypeId tid) const
void RecordOutput (TypeId tid)

Private Attributes

std::vector< std::pair< TypeId,
TypeId > > 
m_aggregates
std::vector< TypeIdm_alreadyProcessed
std::vector< std::string > m_currentPath
std::vector< std::pair< TypeId,
std::string > > 
m_output

Detailed Description

Definition at line 102 of file print-introspected-doxygen.cc.

Member Function Documentation

void StaticInformation::DoGather ( TypeId  tid)
private

Note: for the Doxygen version only, we insert a % in the path below to ensure that doxygen does not attempt to resolve the typeid names included in the string. if the name contains ::, using the % sign will remove that sign resulting for instance in $ns3MobilityModel instead of $ns3::MobilityModel hence the output must be in the form $ns3::MobilityModel in order to show correctly $ns3::MobilityModel We add at the beginning of the name $% and we replace all the :: in the string by ::%.

Definition at line 195 of file print-introspected-doxygen.cc.

References ns3::TypeId::AttributeInformation::checker, ns3::TypeId::GetAttribute(), ns3::TypeId::GetAttributeN(), ns3::ObjectPtrContainerChecker::GetItemTypeId(), ns3::TypeId::GetName(), ns3::PointerChecker::GetPointeeTypeId(), ns3::TypeId::GetRegistered(), ns3::TypeId::GetRegisteredN(), ns3::TypeId::IsChildOf(), ns3::TypeId::AttributeInformation::name, NS_LOG_FUNCTION, ns3::PeekPointer(), and anonymous_namespace{print-introspected-doxygen.cc}::temporaryCharacter.

+ Here is the call graph for this function:

void StaticInformation::find_and_replace ( std::string &  source,
const std::string  find,
std::string  replace 
)
private

Definition at line 298 of file print-introspected-doxygen.cc.

void StaticInformation::Gather ( TypeId  tid)

Definition at line 186 of file print-introspected-doxygen.cc.

Referenced by main().

+ Here is the caller graph for this function:

std::vector< std::string > StaticInformation::Get ( TypeId  tid)

Definition at line 171 of file print-introspected-doxygen.cc.

Referenced by main().

+ Here is the caller graph for this function:

std::string StaticInformation::GetCurrentPath ( void  ) const
private

Definition at line 140 of file print-introspected-doxygen.cc.

bool StaticInformation::HasAlreadyBeenProcessed ( TypeId  tid) const
private

Definition at line 158 of file print-introspected-doxygen.cc.

void StaticInformation::Print ( void  ) const

Definition at line 130 of file print-introspected-doxygen.cc.

void StaticInformation::RecordAggregationInfo ( std::string  a,
std::string  b 
)

Definition at line 124 of file print-introspected-doxygen.cc.

References ns3::TypeId::LookupByName().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void StaticInformation::RecordOutput ( TypeId  tid)
private

Definition at line 152 of file print-introspected-doxygen.cc.

Member Data Documentation

std::vector<std::pair<TypeId,TypeId> > StaticInformation::m_aggregates
private

Definition at line 120 of file print-introspected-doxygen.cc.

std::vector<TypeId> StaticInformation::m_alreadyProcessed
private

Definition at line 119 of file print-introspected-doxygen.cc.

std::vector<std::string> StaticInformation::m_currentPath
private

Definition at line 118 of file print-introspected-doxygen.cc.

std::vector<std::pair<TypeId,std::string> > StaticInformation::m_output
private

Definition at line 117 of file print-introspected-doxygen.cc.


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