Lumiera  0.pre.03
»edit your freedom«
Binding::Atom Class Reference

Description

single predicate as part of an advice binding pattern

Definition at line 115 of file common/advice/binding.hpp.

Public Member Functions

 Atom (string const &symbol="nil", uint arity=0, string const &arg="")
 
string const & arg () const
 
uint arity () const
 
int compare (Atom const &oa) const
 < More...
 
bool identical (Atom const &oa) const
 
 operator string () const
 
string const & sym () const
 

Friends

bool operator< (Atom const &a1, Atom const &a2)
 

Private Attributes

string arg_
 
uint ari_
 
string sym_
 

Member Function Documentation

◆ compare()

int compare ( Atom const &  oa) const
inline

<

Note
when compare returns 0, the corresponding Atom counts as duplicate

Definition at line 142 of file common/advice/binding.hpp.

References Binding::Atom::compare().

Referenced by Binding::Atom::compare().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Collaboration diagram for Binding::Atom:

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