src/core/model/string.h
author Tom Henderson <tomh@tomh.org>
Sun, 22 May 2011 22:28:15 -0700
changeset 7252 c8200621e252
parent 6821 203367ae7433
child 10602 c09b70543458
permissions -rw-r--r--
rerun check-style.py with uncrustify-0.58

#ifndef NS3_STRING_H
#define NS3_STRING_H

#include <string>
#include "attribute-helper.h"

namespace ns3 {

/**
 * \ingroup attribute
 *
 * \class ns3::StringValue
 * \brief hold variables of type string
 *
 * This class can be used to hold variables of type string,
 * that is, either char * or std::string.
 */

ATTRIBUTE_VALUE_DEFINE_WITH_NAME (std::string, String);
ATTRIBUTE_ACCESSOR_DEFINE (String);
ATTRIBUTE_CHECKER_DEFINE (String);

} // namespace ns3


#endif /* NS3_STRING_H */