/[svn]/libgig/trunk/src/Serialization.h
ViewVC logotype

Log of /libgig/trunk/src/Serialization.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 3775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 19 15:23:11 2020 UTC (3 years, 10 months ago) by schoenebeck
File length: 65117 byte(s)
Diff to previous 3774
Serialization.cpp/.h: Added built-in support for C++ Array<> objects

* Introduced out of the box support for serialising / deserialising
  variables of C++ Array<> data types (a.k.a. std::vector from the STL).

* Member offsets are now signed and for (newly added support of) member
  variables on the heap -1 is always used as offset instead.

* Bumped version (4.2.0.svn13).


Revision 3774 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 19 14:55:48 2020 UTC (3 years, 10 months ago) by schoenebeck
File length: 53881 byte(s)
Diff to previous 3773
* Serialization.cpp/.h: Added new method Archive::operation() which
  allows applications to distinguish between serialization vs.
  deserialization in their serialize() method implementations.

* Bumped version (4.2.0.svn12).


Revision 3773 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 19 14:28:20 2020 UTC (3 years, 10 months ago) by schoenebeck
File length: 53584 byte(s)
Diff to previous 3772
* Serialization.h: Fixed assertion fault on some systems if a member
  variable was serialised which was declared as size_t or ssize_t
  data type.

* Bumped version (4.2.0.svn11).


Revision 3772 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 17 17:21:52 2020 UTC (3 years, 11 months ago) by schoenebeck
File length: 52684 byte(s)
Diff to previous 3771
Fixed compiler error with (non-C++14 compliant) GCC compilers.


Revision 3771 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 17 17:14:31 2020 UTC (3 years, 11 months ago) by schoenebeck
File length: 52630 byte(s)
Diff to previous 3476
Serialization.cpp/.h: Added support for "String" data type.

* Added method DataType::isString().

* Added method Object::setStringValue().

* Implemented built-in detection and serialization / deserialization of
  C++ String objects (a.k.a. std::string from the STL).

* Bumped Srx format version to 1.1.

* Bumped version (4.2.0.svn10).


Revision 3476 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 20 19:12:49 2019 UTC (5 years, 1 month ago) by schoenebeck
File length: 51910 byte(s)
Diff to previous 3392
* Added MSVC build support
  (anonymous patch from mailing list).
* Introduced CMake build support (yet constrained for building with MSVC)
  (anonymous patch from mailing list).
* Bumped version (4.1.0.svn12).


Revision 3392 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 3 17:49:22 2017 UTC (6 years, 4 months ago) by schoenebeck
File length: 52105 byte(s)
Diff to previous 3198
* src/Serialization.cpp, src/Serialization.h:
  Hide pure internal declarations from header file to avoid numerous
  compiler warnings when building and linking against the public API.
* Bumped version (4.1.0.svn1).


Revision 3198 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 21 12:46:05 2017 UTC (6 years, 10 months ago) by schoenebeck
File length: 51863 byte(s)
Diff to previous 3185
* RIFF/DLS/gig/Serialization: Exception classes now have a variadic
  constructor which allows to add textual format specifiers like
  with printf().
* gig.cpp: On unknown leverage controller exception: show precise unknown
  leverage controller number found.


Revision 3185 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 17 15:42:58 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 51712 byte(s)
Diff to previous 3183
* Serialization: Handle human readable boolean text representations like
  "yes", "no", "true", "false" in Archive::setAutoValue() as expected.
* Bumped version (4.0.0.svn24).


Revision 3183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 15 18:44:32 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 51378 byte(s)
Diff to previous 3182
* Wrote API documentation for entire new Serialization
  framework.
* Hide some of the method implementation of the Serialization
  framework.


Revision 3182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 14 20:40:02 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 34742 byte(s)
Diff to previous 3178
* Serialization framework: moved methods setVersion() and
  setMinVersion() from class Object to class Archive, and
  hide enum type operation_t from the public API.
* Bumped version (4.0.0.svn23).


Revision 3178 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 23:06:40 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 30290 byte(s)
Diff to previous 3173
* Fixed compile errors with some compilers.


Revision 3173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 10 23:07:28 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 29682 byte(s)
Diff to previous 3169
* Print compiler warning if no RTTI available.
* Serialization::DataType class: Implemented demangling C++ type
  names (for methods asLongDescr() and
  customTypeName(bool demangle=false)).
* gig.h: When there is no RTTI, only hide API functions which
  really require RTTI.
* Bumped version (4.0.0.svn21).


Revision 3169 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 10 21:17:10 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 29689 byte(s)
Diff to previous 3168
* src/gig.h: Added enum reflection API functions for
  retrieving enum declaration type information at
  runtime (countEnum(), enumKey(), enumKeys(),
  enumValue()).
* Archive: Added methods valueAsInt(), valueAsReal()
  and valueAsBool().
* Bumped version (4.0.0.svn20).


Revision 3168 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 9 19:12:32 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 29345 byte(s)
Diff to previous 3167
- More ancient compiler backward compatibility fixes.


Revision 3167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 9 16:32:07 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 29173 byte(s)
Diff to previous 3166
* More old compiler backward compatibility fixes.


Revision 3166 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 9 16:10:36 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 28976 byte(s)
Diff to previous 3165
- And yet another attempt to fix type traits issue.


Revision 3165 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 9 15:24:45 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 28854 byte(s)
Diff to previous 3164
- Yet another attempt to fix type traits issue.


Revision 3164 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 9 15:09:33 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 28839 byte(s)
Diff to previous 3163
- Another attempt to fix type traits issue.


Revision 3163 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 9 14:52:02 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 28531 byte(s)
Diff to previous 3156
* Attempt to fix type traits issue with older compilers.


Revision 3156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 8 17:18:07 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 28470 byte(s)
Diff to previous 3153
* class Archive: Added methods name() and setName().
* class Archive: Added methods comment() and setComment().
* class Archive: Added methods timeStampCreated(),
  timeStampModified(), dateTimeCreated() and
  dateTimeModified().
* Bumped version (4.0.0.svn18).


Revision 3153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 6 13:43:43 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 27923 byte(s)
Diff to previous 3150
* Serialization.cpp/.h: class Object: Added method
  memberByUID(), and method remove() is now protected,
  class Archive: Added method removeMember().
* Bumped version (4.0.0.svn17).


Revision 3150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 5 18:42:06 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 27792 byte(s)
Diff to previous 3146
* Serialization.cpp/.h: Added new methods isModified(),
  setAutoValue(), setIntValue(), setRealValue(),
  setBoolValue(), setEnumValue(), valueAsString() to
  class Archive.
* Serialization.cpp/.h: Archive::rawData(): Automatically
  re-encode new raw data stream if archive had been
  modified (i.e. by remove(), setAutoValue(), etc.).
* Bumped version (4.0.0.svn16).


Revision 3146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 3 19:54:08 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 27098 byte(s)
Diff to previous 3142
- Serialization.h/.cpp: trivial corrections.


Revision 3142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 3 17:37:33 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 26645 byte(s)
Diff to previous 3138
- Serialization.h: Just Doxygen fixes.


Revision 3138 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed May 3 14:41:58 2017 UTC (6 years, 11 months ago) by schoenebeck
File length: 26641 byte(s)
* Added new "Serialization" framework (and equally named namespace)
  which allows to serialize and deserialize native C++ objects
  in a portable, easy and flexible way.
* gig.cpp/gig.h: Added support for serializing & deserializing
  DimensionRegion objects (and crossfade_t and leverage_ctrl_t
  objects).
* Bumped version (4.0.0.svn15).


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC