Back to index

nux  3.0.0
Public Types | Static Public Member Functions
nux::type::PropertyTrait< std::string > Struct Template Reference

#include <PropertyTraits.h>

List of all members.

Public Types

typedef std::string ValueType

Static Public Member Functions

static std::string to_string (std::string const &value)
static std::pair< std::string,
bool > 
from_string (std::string const &serialized_form)

Detailed Description

template<>
struct nux::type::PropertyTrait< std::string >

Definition at line 211 of file PropertyTraits.h.


Member Typedef Documentation

typedef std::string nux::type::PropertyTrait< std::string >::ValueType

Definition at line 213 of file PropertyTraits.h.


Member Function Documentation

static std::pair<std::string, bool> nux::type::PropertyTrait< std::string >::from_string ( std::string const &  serialized_form) [inline, static]

Definition at line 220 of file PropertyTraits.h.

  {
    return std::make_pair(serialized_form, true);
  }
static std::string nux::type::PropertyTrait< std::string >::to_string ( std::string const &  value) [inline, static]

Definition at line 215 of file PropertyTraits.h.

  {
      return value;
  }

The documentation for this struct was generated from the following file: