Ariles
Classes | Namespaces | Macros
protobuf3.h File Reference

Detailed Description

Author
Alexander Sherikov

Definition in file protobuf3.h.

Go to the source code of this file.

#include <ariles2/internal/helpers.h>
#include <ariles2/visitors/config.h>
#include <ariles2/adapters/basic.h>
#include "./protobuf3/reader.h"
#include "./protobuf3/writer.h"

Classes

class  ariles2::ns_protobuf3::Base
 
struct  ariles2::protobuf3
 protobuf3 visitor. More...
 

Namespaces

 ariles2
 
 ariles2::ns_protobuf3
 

Macros

#define ARILES2_VISITOR_INCLUDED_protobuf3
 
#define ARILES2_NAMED_ENTRY_protobuf3_write(v, entry, name)   other.set_##name(entry);
 
#define ARILES2_NAMED_ENTRY_protobuf3_read(v, entry, name)    visitor.visitMapEntry(entry, other.name(), #name, parameters);
 
#define ARILES2_PARENT_protobuf3_write(v, entry)   entry::arilesVisit(visitor, other, parameters);
 
#define ARILES2_PARENT_protobuf3_read(v, entry)   entry::arilesVisit(visitor, other, parameters);
 
#define ARILES2_VISIT_protobuf3
 
#define ARILES2_METHODS_protobuf3
 
#define ARILES2_BASE_METHODS_protobuf3
 

Macro Definition Documentation

◆ ARILES2_BASE_METHODS_protobuf3

#define ARILES2_BASE_METHODS_protobuf3

Definition at line 87 of file protobuf3.h.

◆ ARILES2_METHODS_protobuf3

#define ARILES2_METHODS_protobuf3
Value:
const ariles2::protobuf3::Writer::Parameters &arilesGetParameters(const ariles2::protobuf3::Writer &visitor) const \
{ \
CPPUT_TRACE_FUNCTION; \
return (visitor.getDefaultParameters()); \
} \
const ariles2::protobuf3::Reader::Parameters &arilesGetParameters(const ariles2::protobuf3::Reader &visitor) const \
{ \
CPPUT_TRACE_FUNCTION; \
return (visitor.getDefaultParameters()); \
}

Definition at line 75 of file protobuf3.h.

◆ ARILES2_NAMED_ENTRY_protobuf3_read

#define ARILES2_NAMED_ENTRY_protobuf3_read (   v,
  entry,
  name 
)     visitor.visitMapEntry(entry, other.name(), #name, parameters);

Definition at line 42 of file protobuf3.h.

◆ ARILES2_NAMED_ENTRY_protobuf3_write

#define ARILES2_NAMED_ENTRY_protobuf3_write (   v,
  entry,
  name 
)    other.set_##name(entry);

Definition at line 41 of file protobuf3.h.

◆ ARILES2_PARENT_protobuf3_read

#define ARILES2_PARENT_protobuf3_read (   v,
  entry 
)    entry::arilesVisit(visitor, other, parameters);

Definition at line 45 of file protobuf3.h.

◆ ARILES2_PARENT_protobuf3_write

#define ARILES2_PARENT_protobuf3_write (   v,
  entry 
)    entry::arilesVisit(visitor, other, parameters);

Definition at line 44 of file protobuf3.h.

◆ ARILES2_VISIT_protobuf3

#define ARILES2_VISIT_protobuf3
Value:
template <class t_Other> \
void arilesVisit( \
t_Other &other, \
const typename ariles2::protobuf3::Writer::Parameters &parameters) const \
{ \
CPPUT_UNUSED_ARG(visitor); \
CPPUT_UNUSED_ARG(other); \
CPPUT_UNUSED_ARG(parameters); \
CPPUT_TRACE_FUNCTION; \
ARILES2_ENTRIES(protobuf3_write) \
} \
template <class t_Other> \
void arilesVisit( \
const t_Other &other, \
const typename ariles2::protobuf3::Reader::Parameters &parameters) \
{ \
CPPUT_UNUSED_ARG(visitor); \
CPPUT_UNUSED_ARG(other); \
CPPUT_UNUSED_ARG(parameters); \
CPPUT_TRACE_FUNCTION; \
ARILES2_ENTRIES(protobuf3_read) \
}

Definition at line 48 of file protobuf3.h.

◆ ARILES2_VISITOR_INCLUDED_protobuf3

#define ARILES2_VISITOR_INCLUDED_protobuf3

Definition at line 25 of file protobuf3.h.