OpenWalnut  1.4.0
Public Member Functions
PROPERTY_TYPE_HELPER::WStringConversion< WPVBaseTypes::PV_INTERVAL > Class Template Reference

Class helping to create a new instance of the property content from an old one. More...

#include <WPropertyTypes.h>

List of all members.

Public Member Functions

WPVBaseTypes::PV_INTERVAL create (const WPVBaseTypes::PV_INTERVAL &, const std::string str)
 Creates a new instance of the type from a given string.
std::string asString (const WPVBaseTypes::PV_INTERVAL &v)
 Creates a string from the specified value.

Detailed Description

template<>
class PROPERTY_TYPE_HELPER::WStringConversion< WPVBaseTypes::PV_INTERVAL >

Class helping to create a new instance of the property content from an old one.

Selections need this special care since they contain not serializable content which needs to be acquired from its predecessor instance.

Definition at line 741 of file WPropertyTypes.h.


Member Function Documentation

Creates a string from the specified value.

Parameters:
vthe value to convert
Returns:
the string representation

Definition at line 770 of file WPropertyTypes.h.

References WInterval< T >::getLower(), and WInterval< T >::getUpper().

Creates a new instance of the type from a given string.

Some classes need a predecessor which is also specified here.

Parameters:
strthe new value as string
Returns:
the new instance

Definition at line 751 of file WPropertyTypes.h.

References string_utils::tokenize().


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