kill ATTRIBUTE_HELPER_HEADER_1
This commit is contained in:
@@ -80,7 +80,6 @@ public:
|
||||
*/
|
||||
uint64_t GetBitRate() const;
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (DataRate);
|
||||
private:
|
||||
uint64_t m_bps;
|
||||
static uint64_t Parse(const std::string);
|
||||
|
||||
@@ -83,8 +83,7 @@ MakeSimpleAttributeChecker (std::string name, std::string underlying)
|
||||
*
|
||||
* The simple macros are implemented in terms of the complex
|
||||
* macros and should generally be prefered over the complex macros:
|
||||
* - \ref ATTRIBUTE_HELPER_HEADER_1,
|
||||
* - \ref ATTRIBUTE_HELPER_HEADER_2, and,
|
||||
* - \ref ATTRIBUTE_HELPER_HEADER, and,
|
||||
* - \ref ATTRIBUTE_HELPER_CPP,
|
||||
*/
|
||||
|
||||
@@ -232,15 +231,6 @@ MakeSimpleAttributeChecker (std::string name, std::string underlying)
|
||||
#define ATTRIBUTE_CONVERTER_IMPLEMENT(type)
|
||||
|
||||
|
||||
/**
|
||||
* \ingroup AttributeHelper
|
||||
* \param type the name of the class
|
||||
*
|
||||
* This macro should be invoked from a public section of the class
|
||||
* declaration.
|
||||
*/
|
||||
#define ATTRIBUTE_HELPER_HEADER_1(type)
|
||||
|
||||
/**
|
||||
* \ingroup AttributeHelper
|
||||
* \param type the name of the class
|
||||
|
||||
@@ -77,7 +77,6 @@ public:
|
||||
template <typename T>
|
||||
Ptr<T> Create (void) const;
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (ObjectFactory);
|
||||
private:
|
||||
friend std::ostream & operator << (std::ostream &os, const ObjectFactory &factory);
|
||||
friend std::istream & operator >> (std::istream &is, ObjectFactory &factory);
|
||||
|
||||
@@ -354,7 +354,6 @@ public:
|
||||
TypeId ();
|
||||
~TypeId ();
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (TypeId);
|
||||
private:
|
||||
friend class AttributeList;
|
||||
friend bool operator == (TypeId a, TypeId b);
|
||||
|
||||
@@ -49,7 +49,6 @@ public:
|
||||
Buffer::Iterator Serialize (Buffer::Iterator i) const;
|
||||
Buffer::Iterator Deserialize (Buffer::Iterator i);
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (Ssid);
|
||||
private:
|
||||
uint8_t m_ssid[33];
|
||||
uint8_t m_length;
|
||||
|
||||
@@ -107,7 +107,6 @@ class WifiMode
|
||||
*/
|
||||
WifiMode ();
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (WifiMode);
|
||||
private:
|
||||
friend class WifiModeFactory;
|
||||
WifiMode (uint32_t uid);
|
||||
|
||||
@@ -61,8 +61,6 @@ public:
|
||||
double xMax;
|
||||
double yMin;
|
||||
double yMax;
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (Rectangle);
|
||||
};
|
||||
|
||||
std::ostream &operator << (std::ostream &os, const Rectangle &rectangle);
|
||||
|
||||
@@ -57,8 +57,6 @@ public:
|
||||
* z coordinate of vector vector
|
||||
*/
|
||||
double z;
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (Vector);
|
||||
};
|
||||
|
||||
double CalculateDistance (const Vector &a, const Vector &b);
|
||||
|
||||
@@ -154,7 +154,6 @@ public:
|
||||
*/
|
||||
static uint8_t Register (void);
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (Address);
|
||||
private:
|
||||
friend bool operator == (const Address &a, const Address &b);
|
||||
friend bool operator < (const Address &a, const Address &b);
|
||||
|
||||
@@ -142,7 +142,6 @@ public:
|
||||
static Ipv4Address GetBroadcast (void);
|
||||
static Ipv4Address GetLoopback (void);
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (Ipv4Address);
|
||||
private:
|
||||
Address ConvertTo (void) const;
|
||||
static uint8_t GetType (void);
|
||||
@@ -180,7 +179,6 @@ public:
|
||||
static Ipv4Mask GetLoopback (void);
|
||||
static Ipv4Mask GetZero (void);
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (Ipv4Mask);
|
||||
private:
|
||||
uint32_t m_mask;
|
||||
};
|
||||
|
||||
@@ -96,7 +96,6 @@ public:
|
||||
*/
|
||||
static Mac48Address GetBroadcast (void);
|
||||
|
||||
ATTRIBUTE_HELPER_HEADER_1 (Mac48Address);
|
||||
private:
|
||||
/**
|
||||
* \returns a new Address instance
|
||||
|
||||
Reference in New Issue
Block a user