OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 949 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 951 of file ParserNode.h.

951 : name(n), value(v) {}
std::unique_ptr< std::string > name
Definition: ParserNode.h:956
std::unique_ptr< Literal > value
Definition: ParserNode.h:957

Member Function Documentation

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

Definition at line 952 of file ParserNode.h.

References name.

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

Definition at line 953 of file ParserNode.h.

References value.

953 { return value.get(); }
std::unique_ptr< Literal > value
Definition: ParserNode.h:957

Member Data Documentation

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

Definition at line 956 of file ParserNode.h.

Referenced by get_name().

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

Definition at line 957 of file ParserNode.h.

Referenced by get_value().


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