Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
ConfigRenderer.hxx File Reference
#include <climits>
#include <string>
#include <stdint.h>
#include "openlcb/SimpleNodeInfoDefs.hxx"
#include "utils/OptionalArgs.hxx"
#include "utils/StringPrintf.hxx"

Go to the source code of this file.

Classes

struct  openlcb::AtomConfigDefs
 Configuration options for rendering CDI (atom) data elements. More...
 
class  openlcb::AtomConfigOptions
 Configuration implementation class for CDI Atom elements (strings, events and numbers). More...
 
class  openlcb::AtomConfigRenderer
 Helper class for rendering an atom data element into the cdi.xml. More...
 
struct  openlcb::NumericConfigDefs
 Declarations for the options for numeric CDI entries. More...
 
class  openlcb::NumericConfigOptions
 Definitions for the options for numeric CDI entries. More...
 
class  openlcb::NumericConfigRenderer
 Helper class for rendering a numeric data element into the cdi.xml. More...
 
struct  openlcb::GroupConfigDefs
 Configuration options for the CDI group element, as well as representing and distinguishing alternate uses of the BEGIN_GROUP/EXTEND_GROUP/END_GROUP syntax, such as for the toplevel CDI node and for representing segments. More...
 
class  openlcb::GroupConfigOptions
 Implementation class for the condifuration options of a CDI group element. More...
 
class  openlcb::EmptyGroupConfigRenderer
 Helper class for rendering an empty group of a given size into the cdi.xml. More...
 
class  openlcb::GroupConfigRenderer< Body >
 Helper class for rendering the cdi.xml of groups, segments and the toplevel CDI node. More...
 
struct  openlcb::IdentificationConfigDefs
 Configuration options for rendering CDI (identification) data elements. More...
 
class  openlcb::IdentificationConfigOptions
 Configuration implementation options for rendering CDI (identification) data elements. More...
 
class  openlcb::IdentificationRenderer
 Helper class for rendering the "<identification>" tag. More...
 
class  openlcb::AcdiRenderer
 Helper class for rendering the "<acdi>" tag. More...
 

Namespaces

namespace  openlcb
 

Variables

const SimpleNodeStaticValues openlcb::SNIP_STATIC_DATA
 This static data will be exported as the first block of SNIP.
 

Detailed Description

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Helper classes for creating a CDI xml file.

Author
Balazs Racz
Date
6 June 2015

Definition in file ConfigRenderer.hxx.