kill ATTRIBUTE_HELPER_HEADER_1

This commit is contained in:
Mathieu Lacage
2008-05-26 20:44:19 -07:00
parent a41edb2fa1
commit 0d86d03be0
11 changed files with 1 additions and 24 deletions

View File

@@ -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);

View File

@@ -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

View File

@@ -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);

View File

@@ -354,7 +354,6 @@ public:
TypeId ();
~TypeId ();
ATTRIBUTE_HELPER_HEADER_1 (TypeId);
private:
friend class AttributeList;
friend bool operator == (TypeId a, TypeId b);

View File

@@ -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;

View File

@@ -107,7 +107,6 @@ class WifiMode
*/
WifiMode ();
ATTRIBUTE_HELPER_HEADER_1 (WifiMode);
private:
friend class WifiModeFactory;
WifiMode (uint32_t uid);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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;
};

View File

@@ -96,7 +96,6 @@ public:
*/
static Mac48Address GetBroadcast (void);
ATTRIBUTE_HELPER_HEADER_1 (Mac48Address);
private:
/**
* \returns a new Address instance