LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::Common::AnnotationGraphs::GenericAnnotation Class Reference

This class allows to convert any object into an annotation by inheritance. More...

#include <linguisticProcessing/common/annotationGraph/GenericAnnotation.h>

Public Member Functions

 GenericAnnotation ()
 GenericAnnotation (const GenericAnnotation &ga)
template<typename ValueType>
 GenericAnnotation (const ValueType &v)
GenericAnnotation & operator= (const GenericAnnotation &ga)
template<typename ValueType>
GenericAnnotation & operator= (const ValueType &v)
virtual ~GenericAnnotation ()
template<typename ValueType>
ValueType * pointerValue ()
template<typename ValueType>
const ValueType * pointerValue () const
template<typename ValueType>
ValueType value () const

Detailed Description

This class allows to convert any object into an annotation by inheritance.

Definition at line 29 of file GenericAnnotation.h.

Constructor & Destructor Documentation

◆ GenericAnnotation() [1/3]

Lima::Common::AnnotationGraphs::GenericAnnotation::GenericAnnotation ( )
inline

Definition at line 32 of file GenericAnnotation.h.

◆ GenericAnnotation() [2/3]

Lima::Common::AnnotationGraphs::GenericAnnotation::GenericAnnotation ( const GenericAnnotation & ga)
inline

Definition at line 33 of file GenericAnnotation.h.

◆ GenericAnnotation() [3/3]

template<typename ValueType>
Lima::Common::AnnotationGraphs::GenericAnnotation::GenericAnnotation ( const ValueType & v)
inline

Definition at line 34 of file GenericAnnotation.h.

◆ ~GenericAnnotation()

virtual Lima::Common::AnnotationGraphs::GenericAnnotation::~GenericAnnotation ( )
inlinevirtual

Definition at line 45 of file GenericAnnotation.h.

Member Function Documentation

◆ operator=() [1/2]

GenericAnnotation & Lima::Common::AnnotationGraphs::GenericAnnotation::operator= ( const GenericAnnotation & ga)
inline

Definition at line 35 of file GenericAnnotation.h.

◆ operator=() [2/2]

template<typename ValueType>
GenericAnnotation & Lima::Common::AnnotationGraphs::GenericAnnotation::operator= ( const ValueType & v)
inline

Definition at line 40 of file GenericAnnotation.h.

◆ pointerValue() [1/2]

template<typename ValueType>
ValueType * Lima::Common::AnnotationGraphs::GenericAnnotation::pointerValue ( )
inline

Definition at line 47 of file GenericAnnotation.h.

◆ pointerValue() [2/2]

template<typename ValueType>
const ValueType * Lima::Common::AnnotationGraphs::GenericAnnotation::pointerValue ( ) const
inline

Definition at line 52 of file GenericAnnotation.h.

◆ value()

template<typename ValueType>
ValueType Lima::Common::AnnotationGraphs::GenericAnnotation::value ( ) const
inline

Definition at line 57 of file GenericAnnotation.h.


The documentation for this class was generated from the following file:
  • lima_linguisticprocessing/src/linguisticProcessing/common/annotationGraph/GenericAnnotation.h