before formatting
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* \brief
|
||||
* \~english PIValueTree conversions
|
||||
* \~russian Преобразования PIValueTree
|
||||
*/
|
||||
*/
|
||||
/*
|
||||
PIP - Platform Independent Primitives
|
||||
PIValueTree conversions
|
||||
@@ -34,23 +34,23 @@ class PIIODevice;
|
||||
|
||||
namespace PIValueTreeConversions {
|
||||
|
||||
enum Option {
|
||||
WithAttributes = 0x1,
|
||||
WithComment = 0x2,
|
||||
WithType = 0x4,
|
||||
WithAll = 0xFFFFFF,
|
||||
Default = WithAll
|
||||
};
|
||||
typedef PIFlags<Option> Options;
|
||||
enum Option {
|
||||
WithAttributes = 0x1,
|
||||
WithComment = 0x2,
|
||||
WithType = 0x4,
|
||||
WithAll = 0xFFFFFF,
|
||||
Default = WithAll
|
||||
};
|
||||
typedef PIFlags<Option> Options;
|
||||
|
||||
PIP_EXPORT PIValueTree fromPropertyStorage(const PIPropertyStorage & ps);
|
||||
PIP_EXPORT PIValueTree fromVariantMap(const PIVariantMap & vm);
|
||||
PIP_EXPORT PIValueTree fromJSON(const PIJSON & json);
|
||||
PIP_EXPORT PIValueTree fromText(PIIODevice * device);
|
||||
PIP_EXPORT PIValueTree fromText(const PIString & str);
|
||||
PIP_EXPORT PIJSON toJSON(const PIValueTree & root, Options options = Default);
|
||||
PIP_EXPORT PIString toText(const PIValueTree & root, Options options = Default);
|
||||
PIP_EXPORT PIValueTree fromPropertyStorage(const PIPropertyStorage & ps);
|
||||
PIP_EXPORT PIValueTree fromVariantMap(const PIVariantMap & vm);
|
||||
PIP_EXPORT PIValueTree fromJSON(const PIJSON & json);
|
||||
PIP_EXPORT PIValueTree fromText(PIIODevice * device);
|
||||
PIP_EXPORT PIValueTree fromText(const PIString & str);
|
||||
PIP_EXPORT PIJSON toJSON(const PIValueTree & root, Options options = Default);
|
||||
PIP_EXPORT PIString toText(const PIValueTree & root, Options options = Default);
|
||||
|
||||
}
|
||||
} // namespace PIValueTreeConversions
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user