Back to index

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

#include <PropertyTraits.h>

List of all members.

Public Types

typedef float ValueType

Static Public Member Functions

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

Detailed Description

template<>
struct nux::type::PropertyTrait< float >

Definition at line 154 of file PropertyTraits.h.


Member Typedef Documentation

typedef float nux::type::PropertyTrait< float >::ValueType

Definition at line 156 of file PropertyTraits.h.


Member Function Documentation

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

Definition at line 163 of file PropertyTraits.h.

  {
      return serializable_impl<float>::from_string_impl(serialized_form);
  }

Here is the call graph for this function:

static std::string nux::type::PropertyTrait< float >::to_string ( float  value) [inline, static]

Definition at line 158 of file PropertyTraits.h.

  {
      return serializable_impl<float>::to_string_impl(value);
  }

Here is the call graph for this function:


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