Public Member Functions | Public Attributes | Friends
Symbol Class Reference

#include <symbols.h>

Inheritance diagram for Symbol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool exists ()
bool has_name (std::string name)
bool has_param_name (std::string param)
bool has_param_names_in (std::vector< std::string > params)
 Symbol ()
 Symbol (std::string line)
 Symbol (std::string name, std::vector< std::string > param_names)

Public Attributes

std::string name_
std::vector< std::string > param_names_

Friends

std::ostream & operator<< (std::ostream &out, const Symbol &s)
bool operator== (Symbol &s1, Symbol &s2)

Detailed Description

Definition at line 10 of file symbols.h.


Constructor & Destructor Documentation

Symbol::Symbol ( ) [inline]

Definition at line 16 of file symbols.h.

Symbol::Symbol ( std::string  line)

Definition at line 65 of file symbols.cpp.

Symbol::Symbol ( std::string  name,
std::vector< std::string >  param_names 
) [inline]

Definition at line 20 of file symbols.h.


Member Function Documentation

Definition at line 112 of file symbols.cpp.

bool Symbol::has_name ( std::string  name)

Definition at line 71 of file symbols.cpp.

bool Symbol::has_param_name ( std::string  param)

Definition at line 81 of file symbols.cpp.

bool Symbol::has_param_names_in ( std::vector< std::string >  params)

Definition at line 92 of file symbols.cpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const Symbol s 
) [friend]

Definition at line 51 of file symbols.cpp.

bool operator== ( Symbol s1,
Symbol s2 
) [friend]

Definition at line 46 of file symbols.cpp.


Member Data Documentation

std::string Symbol::name_

Definition at line 13 of file symbols.h.

Definition at line 14 of file symbols.h.


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


iri_rule_learner
Author(s): dmartinez
autogenerated on Fri Dec 6 2013 20:43:48