176   explicit TypeId (
const char * name);
 
  222   std::string 
GetName (
void) 
const;
 
  236   std::size_t 
GetSize (
void) 
const;
 
  315   template <
typename T>
 
  353   template <
typename T>
 
  384                        const std::string &supportMsg = 
"");
 
  425                        const std::string &supportMsg = 
"");
 
  468                          std::string callback,
 
  470                          const std::string &supportMsg = 
"");
 
  520   uint16_t 
GetUid (
void) 
const;
 
  533   void SetUid (uint16_t uid);
 
  566   explicit TypeId (uint16_t tid);
 
  643 template <
typename T>
 
  650 template <
typename T>
 
uint32_t GetAttributeN(void) const 
Get the number of attributes. 
 
uint32_t hash_t
Type of hash values. 
 
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input 
 
Attribute or trace source is currently used. 
 
TypeId AddAttribute(std::string name, std::string help, const AttributeValue &initialValue, Ptr< const AttributeAccessor > accessor, Ptr< const AttributeChecker > checker, SupportLevel supportLevel=SUPPORTED, const std::string &supportMsg="")
Record in this TypeId the fact that a new attribute exists. 
 
Smart pointer class similar to boost::intrusive_ptr. 
 
TypeId AddConstructor(void)
Record in this TypeId the fact that the default constructor is accessible. 
 
TypeId SetParent(void)
Set the parent TypeId. 
 
static TypeId LookupByHash(hash_t hash)
Get a TypeId by hash. 
 
Hold a value for an Attribute. 
 
TypeId GetParent(void) const 
Get the parent of this TypeId. 
 
static bool LookupByNameFailSafe(std::string name, TypeId *tid)
Get a TypeId by name. 
 
Anchor the ns-3 type and attribute system. 
 
NS_DEPRECATED macro definition. 
 
Attribute or trace source is not used anymore; simulation fails. 
 
ns3::Hasher, ns3::Hash32() and ns3::Hash64() function declarations. 
 
The attribute can be written at construction-time. 
 
Callback< ObjectBase * > GetConstructor(void) const 
Get the constructor callback. 
 
static bool LookupByHashFailSafe(hash_t hash, TypeId *tid)
Get a TypeId by hash. 
 
bool operator<(const EventId &a, const EventId &b)
 
bool HasConstructor(void) const 
Check if this TypeId has a constructor. 
 
Declaration of the various callback functions. 
 
bool MustHideFromDocumentation(void) const 
Check if this TypeId should not be listed in documentation. 
 
friend bool operator<(TypeId a, TypeId b)
Comparison operator. 
 
friend bool operator==(TypeId a, TypeId b)
Comparison operator. 
 
static uint32_t GetRegisteredN(void)
Get the number of registered TypeIds. 
 
Ptr< const TraceSourceAccessor > LookupTraceSourceByName(std::string name) const 
Find a TraceSource by name. 
 
uint16_t m_tid
The TypeId value. 
 
ns3::AttributeValue, ns3::AttributeAccessor and ns3::AttributeChecker declarations. 
 
TypeId()
Default constructor. 
 
bool HasParent(void) const 
Check if this TypeId has a parent. 
 
uint32_t GetTraceSourceN(void) const 
Get the number of Trace sources. 
 
static TypeId GetRegistered(uint32_t i)
Get a TypeId by index. 
 
Callback< R > MakeCallback(R(T::*memPtr)(void), OBJ objPtr)
 
Attribute or trace source is deprecated; user is warned. 
 
AttributeFlag
Flags describing when a given attribute can be read or written. 
 
TypeId SetGroupName(std::string groupName)
Set the group name. 
 
The attribute can be written. 
 
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output 
 
bool operator!=(Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > a, Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > b)
Inequality test. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
bool LookupAttributeByName(std::string name, struct AttributeInformation *info) const 
Find an Attribute by name, retrieving the associated AttributeInformation. 
 
ns3::TraceSourceAccessor and ns3::MakeTraceSourceAccessor declarations. 
 
Ptr< T > Create(void)
Create class instances by constructors with varying numbers of arguments and return them by Ptr...
 
std::string GetName(void) const 
Get the name. 
 
The attribute can be read, and written at any time. 
 
uint16_t GetUid(void) const 
Get the internal id of this TypeId. 
 
void DoAddConstructor(Callback< ObjectBase * > callback)
Implementation for AddConstructor(). 
 
hash_t GetHash(void) const 
Get the hash. 
 
void SetUid(uint16_t uid)
Set the internal id of this TypeId. 
 
Attribute helper (ATTRIBUTE_ )macros definition. 
 
bool SetAttributeInitialValue(uint32_t i, Ptr< const AttributeValue > initialValue)
Set the initial value of an Attribute. 
 
NS_DEPRECATED TypeId AddTraceSource(std::string name, std::string help, Ptr< const TraceSourceAccessor > accessor)
Record a new TraceSource. 
 
#define NS_DEPRECATED
Mark a function as deprecated. 
 
The attribute can be read. 
 
TypeId & operator=(const TypeId &o)
Assignment. 
 
friend bool operator!=(TypeId a, TypeId b)
Comparison operator. 
 
std::size_t GetSize(void) const 
Get the size of this object. 
 
bool operator==(const EventId &a, const EventId &b)
 
SupportLevel
The level of support or deprecation for attributes or trace sources. 
 
TypeId SetSize(std::size_t size)
Set the size of this type. 
 
ns3::MakeAccessorHelper declarations and template implementations. 
 
std::string GetAttributeFullName(uint32_t i) const 
Get the Attribute name by index. 
 
bool IsChildOf(TypeId other) const 
Check if this TypeId is a child of another. 
 
struct TypeId::TraceSourceInformation GetTraceSource(uint32_t i) const 
Get the trace source by index. 
 
std::string GetGroupName(void) const 
Get the group name. 
 
struct TypeId::AttributeInformation GetAttribute(uint32_t i) const 
Get Attribute information by index. 
 
a unique identifier for an interface. 
 
#define ATTRIBUTE_HELPER_HEADER(type)
Declare the attribute value, accessor and checkers for class type. 
 
TypeId HideFromDocumentation(void)
Hide this TypeId from documentation. 
 
static TypeId LookupByName(std::string name)
Get a TypeId by name.