OmniSciDB  ba1bac9284
 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 931 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 933 of file ParserNode.h.

933 : name(n), value(v) {}
std::unique_ptr< std::string > name
Definition: ParserNode.h:938
std::unique_ptr< Literal > value
Definition: ParserNode.h:939

Member Function Documentation

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

Definition at line 934 of file ParserNode.h.

References name.

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

Definition at line 935 of file ParserNode.h.

References value.

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

Member Data Documentation

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

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