version 2.0.0_prealpha
PIFile::put() and get()
This commit is contained in:
@@ -247,6 +247,8 @@ public:
|
||||
|
||||
PIVariant(const PIVariant & v);
|
||||
|
||||
PIVariant(PIVariant && v);
|
||||
|
||||
//! Constructs variant from string
|
||||
PIVariant(const char * v) {initType(PIString(v));}
|
||||
|
||||
@@ -467,6 +469,8 @@ public:
|
||||
//! Assign operator
|
||||
PIVariant & operator =(const PIVariant & v);
|
||||
//! Assign operator
|
||||
PIVariant & operator =(PIVariant && v);
|
||||
//! Assign operator
|
||||
PIVariant & operator =(const char * v) {setValue(PIString(v)); return *this;}
|
||||
//! Assign operator
|
||||
PIVariant & operator =(const bool v) {setValue(v); return *this;}
|
||||
@@ -544,6 +548,8 @@ public:
|
||||
//! Returns \b true if type is not Invalid
|
||||
bool isValid() const {return _type != PIVariant::pivInvalid;}
|
||||
|
||||
void swap(PIVariant & v);
|
||||
|
||||
|
||||
/** \brief Returns new variant from custom type
|
||||
* \details In case of known types this function equivalent \a PIVariant(T) constructors. \n
|
||||
|
||||
Reference in New Issue
Block a user