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< TypeId > | m_alreadyProcessed |
std::vector< std::string > | m_currentPath |
std::vector< std::pair< TypeId, std::string > > | m_output |
Definition at line 102 of file print-introspected-doxygen.cc.
|
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.
|
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().
std::vector< std::string > StaticInformation::Get | ( | TypeId | tid | ) |
Definition at line 171 of file print-introspected-doxygen.cc.
Referenced by main().
|
private |
Definition at line 140 of file print-introspected-doxygen.cc.
|
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().
|
private |
Definition at line 152 of file print-introspected-doxygen.cc.
Definition at line 120 of file print-introspected-doxygen.cc.
|
private |
Definition at line 119 of file print-introspected-doxygen.cc.
|
private |
Definition at line 118 of file print-introspected-doxygen.cc.
|
private |
Definition at line 117 of file print-introspected-doxygen.cc.