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  ariles::ns_pugixml::impl::Reader
 

Namespaces

 ariles
 
 ariles::ns_pugixml
 
 ariles::ns_pugixml::impl
 

Macros

#define ARILES_BASIC_TYPE(type)
 

Macro Definition Documentation

◆ ARILES_BASIC_TYPE

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

Definition at line 196 of file reader.cpp.