FreeLing  4.0
Public Member Functions | Static Public Attributes | Private Attributes
freeling::argument Class Reference

Class argument stores information about a predicate argument. More...

#include <language.h>

Collaboration diagram for freeling::argument:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 argument ()
 ~argument ()
 argument (int p, const std::wstring &r)
int get_position () const
 getters
const std::wstring & get_role () const
 get the role of the argument

Static Public Attributes

static const std::wstring EMPTY_ROLE = ""
 Class argument stores information about a predicate argument.

Private Attributes

int position
std::wstring role

Detailed Description

Class argument stores information about a predicate argument.


Constructor & Destructor Documentation

freeling::argument::argument ( int  p,
const std::wstring &  r 
)

Member Function Documentation

getters

get the position of the argument head

References position.

const wstring & freeling::argument::get_role ( ) const

get the role of the argument

References role.


Member Data Documentation

const wstring freeling::argument::EMPTY_ROLE = "" [static]

Class argument stores information about a predicate argument.

Referenced by get_position().

std::wstring freeling::argument::role [private]

Referenced by get_role().


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