00001 #ifndef NS3_STRING_H 00002 #define NS3_STRING_H 00003 00004 #include <string> 00005 #include "attribute-helper.h" 00006 00007 namespace ns3 { 00008 00009 /** 00010 * \ingroup attribute 00011 * 00012 * \class ns3::StringValue 00013 * \brief hold variables of type string 00014 * 00015 * This class can be used to hold variables of type string, 00016 * that is, either char * or std::string. 00017 */ 00018 00019 ATTRIBUTE_VALUE_DEFINE_WITH_NAME (std::string, String); 00020 ATTRIBUTE_ACCESSOR_DEFINE (String); 00021 ATTRIBUTE_CHECKER_DEFINE (String); 00022 00023 } // namespace ns3 00024 00025 00026 #endif /* NS3_STRING_H */