Typedefs | Enumerations | Functions

WPVBaseTypes Namespace Reference

Namespace containing all base types of the WPropertyVariables. More...

Typedefs

typedef int32_t PV_INT
 base type used for every WPVInt
typedef double PV_DOUBLE
 base type used for every WPVDouble
typedef bool PV_BOOL
 base type used for every WPVBool
typedef std::string PV_STRING
 base type used for every WPVString
typedef boost::filesystem::path PV_PATH
 base type used for every WPVFilename
typedef WItemSelector PV_SELECTION
 base type used for every WPVSelection
typedef WPosition PV_POSITION
 base type used for every WPVPosition
typedef WColor PV_COLOR
 base type used for every WPVColor
typedef WMatrix4d PV_MATRIX4X4
 base type used for every WPVMatrix4X4

Enumerations

enum  PV_TRIGGER { PV_TRIGGER_READY = 0, PV_TRIGGER_TRIGGERED }
 

Enum denoting the possible trigger states.

More...

Functions

std::ostream & operator<< (std::ostream &out, const PV_TRIGGER &c)
 Write a PV_TRIGGER in string representation to the given output stream.
std::istream & operator>> (std::istream &in, PV_TRIGGER &c)
 Write a PV_TRIGGER in string representation to the given input stream.

Detailed Description

Namespace containing all base types of the WPropertyVariables.

Use these types instead of issuing int32_t, double, bool, ... directly. It also contains some user defined types including the needed operators.

Notes:
You can use only types which overwrite the << and >> operators!

Typedef Documentation

typedef bool WPVBaseTypes::PV_BOOL

base type used for every WPVBool

Definition at line 104 of file WPropertyTypes.h.

typedef WColor WPVBaseTypes::PV_COLOR

base type used for every WPVColor

Definition at line 109 of file WPropertyTypes.h.

typedef double WPVBaseTypes::PV_DOUBLE

base type used for every WPVDouble

Definition at line 103 of file WPropertyTypes.h.

typedef int32_t WPVBaseTypes::PV_INT

base type used for every WPVInt

Definition at line 102 of file WPropertyTypes.h.

base type used for every WPVMatrix4X4

Definition at line 110 of file WPropertyTypes.h.

typedef boost::filesystem::path WPVBaseTypes::PV_PATH

base type used for every WPVFilename

Definition at line 106 of file WPropertyTypes.h.

base type used for every WPVPosition

Definition at line 108 of file WPropertyTypes.h.

base type used for every WPVSelection

Definition at line 107 of file WPropertyTypes.h.

typedef std::string WPVBaseTypes::PV_STRING

base type used for every WPVString

Definition at line 105 of file WPropertyTypes.h.


Enumeration Type Documentation

Enum denoting the possible trigger states.

It is used for trigger properties.

Enumerator:
PV_TRIGGER_READY 

Trigger property: is ready to be triggered (again).

PV_TRIGGER_TRIGGERED 

Trigger property: got triggered.

Definition at line 115 of file WPropertyTypes.h.


Function Documentation

std::ostream & WPVBaseTypes::operator<< ( std::ostream &  out,
const PV_TRIGGER &  c 
)

Write a PV_TRIGGER in string representation to the given output stream.

Parameters:
out the output stream to print the value to
c the trigger value to output
Returns:
the output stream extended by the trigger value.

Definition at line 29 of file WPropertyTypes.cpp.

References PV_TRIGGER_TRIGGERED.

std::istream & WPVBaseTypes::operator>> ( std::istream &  in,
WPVBaseTypes::PV_TRIGGER c 
)

Write a PV_TRIGGER in string representation to the given input stream.

Parameters:
in the input stream to read the value from
c set the value red to this
Returns:
the input stream.

Definition at line 44 of file WPropertyTypes.cpp.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends