Ariles
Classes | Namespaces | Macros
reader.cpp File Reference

Detailed Description

Author
Alexander Sherikov

Definition in file reader.cpp.

Go to the source code of this file.

#include "common.h"

Classes

class  ariles2::ns_pugixml::impl::Reader
 

Namespaces

 ariles2
 
 ariles2::ns_pugixml
 
 ariles2::ns_pugixml::impl
 

Macros

#define ARILES2_BASIC_TYPE(type)
 

Macro Definition Documentation

◆ ARILES2_BASIC_TYPE

#define ARILES2_BASIC_TYPE (   type)
Value:
void Reader::readElement(type &element) \
{ \
CPPUT_ASSERT(not impl_->getRawNode().text().empty(), "Empty integer elements are not allowed."); \
element = boost::lexical_cast<type>(impl_->getRawNode().text().as_string()); \
}

Definition at line 209 of file reader.cpp.