Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
44a307f8
Commit
44a307f8
authored
Apr 01, 2020
by
Norby, Tom
Browse files
Export symbols for dll.
parent
33cf5ac2
Pipeline
#95822
passed with stages
in 22 minutes and 30 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
radixcore/json.hh
View file @
44a307f8
...
@@ -9,12 +9,13 @@
...
@@ -9,12 +9,13 @@
#include
<vector>
#include
<vector>
#include
"radixcore/value.hh"
#include
"radixcore/value.hh"
#include
"radixcore/visibility.hh"
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// see www.json.org for parsing grammar
// see www.json.org for parsing grammar
namespace
radix
namespace
radix
{
{
class
JSONParser
class
RADIX_PUBLIC
JSONParser
{
{
public:
public:
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
...
...
radixcore/value.hh
View file @
44a307f8
...
@@ -6,13 +6,15 @@
...
@@ -6,13 +6,15 @@
#include
<string>
#include
<string>
#include
<vector>
#include
<vector>
#include
"radixcore/visibility.hh"
namespace
radix
namespace
radix
{
{
/**
/**
* @brief The Value class represents values of objects (null, integer, double,
* @brief The Value class represents values of objects (null, integer, double,
* string, array, or object)
* string, array, or object)
*/
*/
class
Value
class
RADIX_PUBLIC
Value
{
{
public:
public:
typedef
std
::
shared_ptr
<
Value
>
SP
;
typedef
std
::
shared_ptr
<
Value
>
SP
;
...
@@ -144,7 +146,7 @@ class Value
...
@@ -144,7 +146,7 @@ class Value
void
copy_from
(
const
Value
&
orig
);
void
copy_from
(
const
Value
&
orig
);
};
};
class
DataArray
class
RADIX_PUBLIC
DataArray
{
{
public:
public:
typedef
std
::
shared_ptr
<
DataArray
>
SP
;
typedef
std
::
shared_ptr
<
DataArray
>
SP
;
...
@@ -191,7 +193,7 @@ class DataArray
...
@@ -191,7 +193,7 @@ class DataArray
void
merge
(
const
DataArray
&
rhs
);
void
merge
(
const
DataArray
&
rhs
);
};
};
class
DataObject
class
RADIX_PUBLIC
DataObject
{
{
public:
public:
typedef
std
::
shared_ptr
<
DataObject
>
SP
;
typedef
std
::
shared_ptr
<
DataObject
>
SP
;
...
@@ -244,7 +246,7 @@ class DataObject
...
@@ -244,7 +246,7 @@ class DataObject
};
};
template
<
class
Interp
>
template
<
class
Interp
>
bool
generate_object
(
DataObject
::
SP
&
obj
,
std
::
istream
&
input
,
RADIX_PUBLIC
bool
generate_object
(
DataObject
::
SP
&
obj
,
std
::
istream
&
input
,
std
::
ostream
&
errors
)
std
::
ostream
&
errors
)
{
{
Interp
interpreter
(
obj
,
input
,
errors
,
nullptr
);
Interp
interpreter
(
obj
,
input
,
errors
,
nullptr
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment