Ariles
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
writer.cpp File Reference

Detailed Description

Author
Alexander Sherikov

Definition in file writer.cpp.

Go to the source code of this file.

#include <ariles2/visitors/nlohmann_json.h>
#include "common.h"
#include <nlohmann/json.hpp>

Classes

class  ariles2::ns_nlohmann_json::impl::Writer
 

Namespaces

namespace  ariles2
 
namespace  ariles2::ns_nlohmann_json
 
namespace  ariles2::ns_nlohmann_json::impl
 

Macros

#define ARILES2_BASIC_TYPE(type)
 
#define ARILES2_BASIC_TYPE(type)
 

Macro Definition Documentation

◆ ARILES2_BASIC_TYPE [1/2]

#define ARILES2_BASIC_TYPE (   type)
Value:
void Writer::writeElement(const type &element, const Parameters &) \
{ \
impl_->getRawNode() = static_cast<std::int64_t>(element); \
}

Definition at line 161 of file writer.cpp.

◆ ARILES2_BASIC_TYPE [2/2]

#define ARILES2_BASIC_TYPE (   type)
Value:
void Writer::writeElement(const type &element, const Parameters &) \
{ \
impl_->getRawNode() = static_cast<std::uint64_t>(element); \
}

Definition at line 161 of file writer.cpp.