CppZmqZoltanExt 0.0.1
Loading...
Searching...
No Matches
zpl_config.cpp File Reference

ZPL (ZeroMQ Property Language) parser. More...

#include "cppzmqzoltanext/zpl_config.h"
#include <cctype>
#include <fstream>
#include <sstream>
#include <unordered_map>
#include <utility>
#include <vector>
Include dependency graph for zpl_config.cpp:

Go to the source code of this file.

Classes

struct  zmqzext::zpl_config_t::impl_t
 

Detailed Description

ZPL (ZeroMQ Property Language) parser.

Authors
Luan Young (luanp.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om)

Distributed under the MIT License (MIT) (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)

Definition in file zpl_config.cpp.

Variable Documentation

◆ children_by_name

std::unordered_map<std::string, std::shared_ptr<zpl_node_t> > children_by_name

Fast lookup.

Definition at line 60 of file zpl_config.cpp.

◆ explicitly_defined

bool explicitly_defined {false}

True when this node appears explicitly in the input. Nodes created only as path containers (e.g., from "a/b") keep this false unless their own property line is present.

Definition at line 56 of file zpl_config.cpp.

◆ indent_level

std::size_t indent_level

Indentation level (4-space units)

Definition at line 65 of file zpl_config.cpp.

◆ name

std::string name

Node name segment.

Property name (may include '/')

Definition at line 54 of file zpl_config.cpp.

◆ ordered_children

std::vector<std::shared_ptr<zpl_node_t> > ordered_children

Children in source order.

Definition at line 59 of file zpl_config.cpp.

◆ value

std::string value

Raw string value.

Property value (possibly empty)

Definition at line 55 of file zpl_config.cpp.