Richard Fuchs
900875bd91
MT#62181 AmArg: take ownership of ValueStruct
...
Change from pointer to directly owned/contained object. Update const
usages. Add non-const asStruct() accessor.
Change-Id: Idd87c153fa09d1c36faa7ec3317ed872a43dd3c3
9 months ago
Richard Fuchs
74c87bc066
MT#62181 AmArg: take ownership of ValueArray
...
Directly contain the ValueArray in the variant instead of manually
managing a pointer. Requires updating the return type of some const
functions to also be const, which in turn requires some of their users
to have the type const qualified as well.
Change-Id: I2ec31d659eef521a3f68d642ee431b5c38f27fdf
9 months ago
Richard Fuchs
c7c12a1494
MT#62181 AmArg: add missing copy/assignment ctor
...
We still have raw pointers in the variant and so we need to deal with
copying the contained objects ourselves.
Change-Id: I0e5f1b56430ffeda9d34ede30ec87cfd45a61662
9 months ago
Richard Fuchs
5fd2cfac8e
MT#62181 AmArg: fix variant access
...
You can't get get() to assign a new value
Change-Id: Idfb90b0f2defb24f531fca88b7d38e53b17cc766
9 months ago
Richard Fuchs
41eaaaee31
MT#62181 AmArg: refactor as std::variant
...
This doesn't yet do much in terms of memory management as it still uses
pointers for arrays and structs, but it does move management of strings
and blobs into the variant. Further refactoring will bring the full
benefits.
Add specialised == operator to avoid implicit conversions to temporary
AmArg.
Includes white space cleanups.
Change-Id: I1e4bce6b96c2187294044f9f2a30fa7013912139
9 months ago
Richard Fuchs
c966c37a90
MT#62181 AmArg: fix missing return
...
Change-Id: Icfb1183802e036e0af6cfa37b5f5f113a2cb034c
Warned-by: Coverity
9 months ago
Victor Seva
2bf464e5cb
Imported Upstream version 1.6.0~20150612~a2d214df36
11 years ago
Victor Seva
df9992620d
Imported Upstream version 1.6.0~20140516~eaa616
12 years ago
Raphael Coeffic
3af67ec695
adds AmDynInvoke pointer to the supported payloads in AmArg.
15 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Stefan Sayer
8fc7d2baaa
bool type for AmArg
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1456 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
9f3e47a756
better double representation in AmArg::print
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1429 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
856061e132
corrected typo
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1395 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
a932334e4d
correct pop() on empty AmArg
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1392 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
97c44eced4
push and pop functions; making assert... functions visible
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1378 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
1d4c9017f7
synced print format to python's
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1315 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
e65a1296db
print function for AmArg to represent in debug output
...
thanks to Bogdan Pintea
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1314 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
0756084299
equality check for AmArg
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1270 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
f366f0f922
add erase function. fix size() for struct
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1256 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
f30989deff
mass setting Id svn property
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1048 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
b38fe059b8
added AmArg::clear function
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1038 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
9411ad3ac8
fixes for SEMS on Solaris
...
contributed by Richard Newman rnewman at twinql dot com
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@633 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
6fed281bac
adds struct (attribute-value map), some convenience contructors, and correct assignment operator
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@566 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
d87513d82a
added the ArgBlob variant type, which is a type that owns a binary blob of data. see doxygen doc for details.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@543 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
6d721d6244
made AmArg size() const
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@388 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
29cc0cf236
combined AmArg and AmArgArray into one class
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@383 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago