OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Parser::NameValueAssign Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::NameValueAssign:
+ Collaboration diagram for Parser::NameValueAssign:

Public Member Functions

 NameValueAssign (std::string *n, Literal *v)
 
const std::string * get_name () const
 
const Literalget_value () const
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

std::unique_ptr< std::string > name_
 
std::unique_ptr< Literalvalue_
 

Detailed Description

Definition at line 957 of file ParserNode.h.

Constructor & Destructor Documentation

Parser::NameValueAssign::NameValueAssign ( std::string *  n,
Literal v 
)
inline

Definition at line 959 of file ParserNode.h.

959 : name_(n), value_(v) {}
std::unique_ptr< std::string > name_
Definition: ParserNode.h:964
std::unique_ptr< Literal > value_
Definition: ParserNode.h:965
constexpr double n
Definition: Utm.h:46

Member Function Documentation

const std::string* Parser::NameValueAssign::get_name ( ) const
inline

Definition at line 960 of file ParserNode.h.

References name_.

960 { return name_.get(); }
std::unique_ptr< std::string > name_
Definition: ParserNode.h:964
const Literal* Parser::NameValueAssign::get_value ( ) const
inline

Definition at line 961 of file ParserNode.h.

References value_.

961 { return value_.get(); }
std::unique_ptr< Literal > value_
Definition: ParserNode.h:965

Member Data Documentation

std::unique_ptr<std::string> Parser::NameValueAssign::name_
private

Definition at line 964 of file ParserNode.h.

Referenced by get_name().

std::unique_ptr<Literal> Parser::NameValueAssign::value_
private

Definition at line 965 of file ParserNode.h.

Referenced by get_value().


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