29#ifndef NOMLIB_PTREE_VSTRING_HPP
30#define NOMLIB_PTREE_VSTRING_HPP
34#include "nomlib/config.hpp"
38typedef nom::size_type ArrayIndex;
85 void swap(self_type& rhs);
VString()
Construct an invalid member key.
const char * c_str() const
Get the C string stored for this member key.
VString(ArrayIndex index)
Construct a member key from an array element index.
std::string string() const
Get the C++ string stored for this member key.
self_type & operator=(const self_type &rhs)
Copy assignment operator.
VString(const char *key)
Construct a member key from a C string.
VString(const std::string &key)
Construct a member key from a C++ string.
ArrayIndex index() const
Get the stored array index key.
VString(const self_type &rhs)
Copy constructor.
bool operator<(const self_type &rhs) const
Lesser than comparison operator.
bool operator==(const self_type &rhs) const
Equality comparison operator.