version 2.0.0_prealpha

PIFile::put() and get()
This commit is contained in:
2020-08-11 20:09:34 +03:00
parent 3ba6a7b0e8
commit 57a9ccb854
8 changed files with 87 additions and 5 deletions

View File

@@ -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