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
mathieu@2502
     1
#ifndef NS3_STRING_H
mathieu@2502
     2
#define NS3_STRING_H
mathieu@2502
     3
mathieu@2502
     4
#include <string>
mathieu@2502
     5
#include "attribute-helper.h"
mathieu@2502
     6
mathieu@2502
     7
namespace ns3 {
mathieu@2502
     8
mathieu@2584
     9
/**
tomh@3182
    10
 * \ingroup attribute
tomh@3182
    11
 *
mathieu@2969
    12
 * \class ns3::StringValue
mathieu@2584
    13
 * \brief hold variables of type string
mathieu@2584
    14
 *
mathieu@2584
    15
 * This class can be used to hold variables of type string,
mathieu@2584
    16
 * that is, either char * or std::string.
mathieu@2584
    17
 */
mathieu@2502
    18
mathieu@2965
    19
ATTRIBUTE_VALUE_DEFINE_WITH_NAME (std::string, String);
mathieu@2965
    20
ATTRIBUTE_ACCESSOR_DEFINE (String);
mathieu@2965
    21
ATTRIBUTE_CHECKER_DEFINE (String);
mathieu@2502
    22
mathieu@2502
    23
} // namespace ns3
mathieu@2502
    24
mathieu@2502
    25
mathieu@2502
    26
#endif /* NS3_STRING_H */