OmniSciDB  a987f07e93
 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 960 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 962 of file ParserNode.h.

962 : name_(n), value_(v) {}
std::unique_ptr< std::string > name_
Definition: ParserNode.h:967
std::unique_ptr< Literal > value_
Definition: ParserNode.h:968
constexpr double n
Definition: Utm.h:38

Member Function Documentation

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

Definition at line 963 of file ParserNode.h.

References name_.

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

Definition at line 964 of file ParserNode.h.

References value_.

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

Member Data Documentation

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

Definition at line 967 of file ParserNode.h.

Referenced by get_name().

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

Definition at line 968 of file ParserNode.h.

Referenced by get_value().


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