129 explicit TypeId (
const char * name);
163 std::string
GetName (
void)
const;
229 template <
typename T>
248 template <
typename T>
332 uint16_t
GetUid (
void)
const;
341 void SetUid (uint16_t tid);
356 explicit TypeId (uint16_t tid);
409 template <
typename T>
416 template <
typename T>
ATTRIBUTE_HELPER_HEADER(ObjectFactory)
uint32_t GetAttributeN(void) const
uint32_t hash_t
Type of hash values.
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
smart pointer class similar to boost::intrusive_ptr
TypeId AddConstructor(void)
static TypeId LookupByHash(hash_t hash)
Hold a value for an Attribute.
TypeId GetParent(void) const
static bool LookupByNameFailSafe(std::string name, TypeId *tid)
bool operator<(const Room &a, const Room &b)
implement the ns-3 type and attribute system
The attribute can be written at construction-time.
The attribute can be read, and written at any time.
Callback< ObjectBase * > GetConstructor(void) const
static bool LookupByHashFailSafe(hash_t hash, TypeId *tid)
bool HasConstructor(void) const
The attribute can be read.
bool MustHideFromDocumentation(void) const
friend bool operator<(TypeId a, TypeId b)
friend bool operator==(TypeId a, TypeId b)
static uint32_t GetRegisteredN(void)
Ptr< const TraceSourceAccessor > LookupTraceSourceByName(std::string name) const
bool HasParent(void) const
uint32_t GetTraceSourceN(void) const
static TypeId GetRegistered(uint32_t i)
Callback< R > MakeCallback(R(T::*memPtr)(void), OBJ objPtr)
TypeId SetGroupName(std::string groupName)
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
TypeId AddAttribute(std::string name, std::string help, const AttributeValue &initialValue, Ptr< const AttributeAccessor > accessor, Ptr< const AttributeChecker > checker)
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.
void SetUid(uint16_t tid)
bool LookupAttributeByName(std::string name, struct AttributeInformation *info) const
The attribute can be written.
AttributeFlag
Flags describing when a given attribute can be read or written.
std::string GetName(void) const
friend class AttributeList
uint16_t GetUid(void) const
void DoAddConstructor(Callback< ObjectBase * > callback)
hash_t GetHash(void) const
bool SetAttributeInitialValue(uint32_t i, Ptr< const AttributeValue > initialValue)
TypeId AddTraceSource(std::string name, std::string help, Ptr< const TraceSourceAccessor > accessor)
TypeId & operator=(const TypeId &o)
friend bool operator!=(TypeId a, TypeId b)
bool operator==(const EventId &a, const EventId &b)
std::string GetAttributeFullName(uint32_t i) const
bool IsChildOf(TypeId other) const
struct TypeId::TraceSourceInformation GetTraceSource(uint32_t i) const
std::string GetGroupName(void) const
struct TypeId::AttributeInformation GetAttribute(uint32_t i) const
a unique identifier for an interface.
TypeId HideFromDocumentation(void)
static TypeId LookupByName(std::string name)