OmniSciDB  72c90bc290
 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 961 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 963 of file ParserNode.h.

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

Member Function Documentation

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

Definition at line 964 of file ParserNode.h.

References name_.

Referenced by Parser::anonymous_namespace{ParserNode.cpp}::get_string_option().

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

+ Here is the caller graph for this function:

const Literal* Parser::NameValueAssign::get_value ( ) const
inline

Definition at line 965 of file ParserNode.h.

References value_.

Referenced by Parser::anonymous_namespace{ParserNode.cpp}::get_string_option().

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

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 968 of file ParserNode.h.

Referenced by get_name().

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

Definition at line 969 of file ParserNode.h.

Referenced by get_value().


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