src/core/string.h
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat, 04 Jul 2009 08:15:48 +0200
changeset 4654 2eaebe77d66b
parent 2969 9d05d2a95dfa
permissions -rw-r--r--
Added tag ns-3.5 for changeset c975274c9707
     1 #ifndef NS3_STRING_H
     2 #define NS3_STRING_H
     3 
     4 #include <string>
     5 #include "attribute-helper.h"
     6 
     7 namespace ns3 {
     8 
     9 /**
    10  * \ingroup attribute
    11  *
    12  * \class ns3::StringValue
    13  * \brief hold variables of type string
    14  *
    15  * This class can be used to hold variables of type string,
    16  * that is, either char * or std::string.
    17  */
    18 
    19 ATTRIBUTE_VALUE_DEFINE_WITH_NAME (std::string, String);
    20 ATTRIBUTE_ACCESSOR_DEFINE (String);
    21 ATTRIBUTE_CHECKER_DEFINE (String);
    22 
    23 } // namespace ns3
    24 
    25 
    26 #endif /* NS3_STRING_H */