Ariles
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ariles2::ns_pugixml::impl::Writer Class Reference

Detailed Description

Definition at line 19 of file writer.cpp.

Inheritance diagram for ariles2::ns_pugixml::impl::Writer:
ariles2::serialization::NodeStackBase< NodeWrapper > ariles2::write::FileVisitorImplementation

Public Member Functions

template<class... t_Args>
 Writer (t_Args &&...args)
 
pugi::xml_node & getRawNode ()
 Get current node. More...
 
NodeWrapperback ()
 
const NodeWrapperback () const
 
void clear ()
 
void emplace (t_Args &&...args)
 
void pop ()
 
void shiftArray ()
 
bool empty () const
 
std::string concatWithNode (t_String &&...strings) const
 
void concatWithNodeAndEmplace (t_String &&...strings)
 

Public Attributes

pugi::xml_document document_
 
std::vector< NodeWrappernode_stack_
 
std::ofstream config_ofs_
 output file stream More...
 
std::ostream * output_stream_
 output stream More...
 

Protected Member Functions

void openFile (const std::string &file_name)
 open configuration file More...
 

Constructor & Destructor Documentation

◆ Writer()

template<class... t_Args>
ariles2::ns_pugixml::impl::Writer::Writer ( t_Args &&...  args)
inlineexplicit

Definition at line 27 of file writer.cpp.

Member Function Documentation

◆ back() [1/2]

Definition at line 131 of file serialization.h.

◆ back() [2/2]

const NodeWrapper & ariles2::serialization::NodeStackBase< NodeWrapper >::back ( ) const
inlineinherited

Definition at line 136 of file serialization.h.

◆ clear()

void ariles2::serialization::NodeStackBase< NodeWrapper >::clear ( )
inlineinherited

Definition at line 141 of file serialization.h.

◆ concatWithNode()

std::string ariles2::serialization::NodeStackBase< NodeWrapper >::concatWithNode ( t_String &&...  strings) const
inlineinherited

Definition at line 170 of file serialization.h.

◆ concatWithNodeAndEmplace()

void ariles2::serialization::NodeStackBase< NodeWrapper >::concatWithNodeAndEmplace ( t_String &&...  strings)
inlineinherited

Definition at line 176 of file serialization.h.

◆ emplace()

void ariles2::serialization::NodeStackBase< NodeWrapper >::emplace ( t_Args &&...  args)
inlineinherited

Definition at line 147 of file serialization.h.

◆ empty()

bool ariles2::serialization::NodeStackBase< NodeWrapper >::empty ( ) const
inlineinherited

Definition at line 163 of file serialization.h.

◆ getRawNode()

pugi::xml_node& ariles2::ns_pugixml::impl::Writer::getRawNode ( )
inline

Get current node.

Returns
pointer to the current node

Definition at line 38 of file writer.cpp.

◆ openFile()

void ariles2::write::FileVisitorImplementation::openFile ( const std::string &  file_name)
inlineprotectedinherited

open configuration file

Parameters
[in]file_name

Definition at line 400 of file write.h.

◆ pop()

void ariles2::serialization::NodeStackBase< NodeWrapper >::pop ( )
inlineinherited

Definition at line 152 of file serialization.h.

◆ shiftArray()

void ariles2::serialization::NodeStackBase< NodeWrapper >::shiftArray ( )
inlineinherited

Definition at line 157 of file serialization.h.

Member Data Documentation

◆ config_ofs_

std::ofstream ariles2::write::FileVisitorImplementation::config_ofs_
inherited

output file stream

Definition at line 377 of file write.h.

◆ document_

pugi::xml_document ariles2::ns_pugixml::impl::Writer::document_

Definition at line 22 of file writer.cpp.

◆ node_stack_

std::vector<NodeWrapper > ariles2::serialization::NodeStackBase< NodeWrapper >::node_stack_
inherited

Definition at line 128 of file serialization.h.

◆ output_stream_

std::ostream* ariles2::write::FileVisitorImplementation::output_stream_
inherited

output stream

Definition at line 380 of file write.h.


The documentation for this class was generated from the following file: