2008-02-27 21:41:34 +01:00
|
|
|
#ifndef NS3_STRING_H
|
|
|
|
|
#define NS3_STRING_H
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
#include "attribute-helper.h"
|
|
|
|
|
|
|
|
|
|
namespace ns3 {
|
|
|
|
|
|
2008-03-10 14:05:26 -07:00
|
|
|
/**
|
2008-05-29 23:24:10 -07:00
|
|
|
* \ingroup attribute
|
|
|
|
|
*
|
2008-04-17 15:30:18 -07:00
|
|
|
* \class ns3::StringValue
|
2008-03-10 14:05:26 -07:00
|
|
|
* \brief hold variables of type string
|
|
|
|
|
*
|
|
|
|
|
* This class can be used to hold variables of type string,
|
|
|
|
|
* that is, either char * or std::string.
|
|
|
|
|
*/
|
2008-02-27 21:41:34 +01:00
|
|
|
|
2008-04-17 13:42:25 -07:00
|
|
|
ATTRIBUTE_VALUE_DEFINE_WITH_NAME (std::string, String);
|
|
|
|
|
ATTRIBUTE_ACCESSOR_DEFINE (String);
|
|
|
|
|
ATTRIBUTE_CHECKER_DEFINE (String);
|
2008-02-27 21:41:34 +01:00
|
|
|
|
|
|
|
|
} // namespace ns3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* NS3_STRING_H */
|