21 #include "prtx/prtx.h" 39 const Bool PRTX_FALSE =
static_cast<Bool>(0u);
40 const Bool PRTX_TRUE =
static_cast<Bool>(1u);
41 const Bool PRTX_NO =
static_cast<Bool>(0u);
42 const Bool PRTX_YES =
static_cast<Bool>(1u);
44 inline bool toPrimitive(
Bool b) {
return (b == PRTX_TRUE); }
45 PRTX_EXPORTS_API
Bool boolFromString(
const std::wstring& w);
46 PRTX_EXPORTS_API
Bool boolFromString(
const std::string& s);
uint8_t Bool
uint8_t based Bool type
Definition: Types.h:30
std::vector< prtx::Bool > BoolVector
vector of uint8_t based Bool type
Definition: Types.h:31
std::vector< double > DoubleVector
vector of double
Definition: Types.h:32
std::vector< uint8_t > BinaryVector
vector to hold binary data
Definition: Types.h:37
std::shared_ptr< std::wstring > StringPtr
shared std::string
Definition: Types.h:36
std::vector< std::string > StringVector
vector of std::string
Definition: Types.h:34
The Procedural Runtime eXtension namespace. The prtx namespace contains the tools to extend the Proce...
Definition: AnnotationBuilder.h:35
std::vector< int32_t > Int32Vector
vector of int32_t
Definition: Types.h:33
std::vector< std::wstring > WStringVector
vector of std::wstring
Definition: Types.h:35