LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct Class Reference

Property to identify the chains in the graph. More...

#include <linguisticProcessing/core/LinguisticAnalysisStructure/ChainIdStruct.h>

Public Member Functions

 ChainIdStruct (Common::MediaticData::ChainsType chainType=Common::MediaticData::NO_CHAIN_TYPE, uint64_t chainId=noid, ChainElemType type=PART)
 
virtual ~ChainIdStruct ()
 
 ChainIdStruct (const ChainIdStruct &cis)
 
ChainIdStruct & operator= (const ChainIdStruct &cis)
 
bool operator== (const ChainIdStruct &cis) const
 
bool operator< (const ChainIdStruct &cis) const
 
Common::MediaticData::ChainsType chainType () const
 
void chainType (Common::MediaticData::ChainsType t)
 
uint64_t chainId () const
 
void chainId (uint64_t chainId)
 
ChainElemType elemType () const
 
void elemType (ChainElemType type)
 

Static Public Attributes

static const uint64_t noid =UINT_MAX
 

Detailed Description

Property to identify the chains in the graph.

Works like the PathIdProperty but each edge can belong to several chains in various paths, so the property is a set of objects composed of a path number, a chain number in the path and a chain type

Definition at line 33 of file ChainIdStruct.h.

Constructor & Destructor Documentation

◆ ChainIdStruct() [1/2]

Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::ChainIdStruct ( Common::MediaticData::ChainsType  chainType = Common::MediaticData::NO_CHAIN_TYPE,
uint64_t  chainId = noid,
ChainElemType  type = PART 
)
inline

Definition at line 39 of file ChainIdStruct.h.

◆ ~ChainIdStruct()

virtual Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::~ChainIdStruct ( )
inlinevirtual

Definition at line 44 of file ChainIdStruct.h.

◆ ChainIdStruct() [2/2]

Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::ChainIdStruct ( const ChainIdStruct &  cis)
inline

Definition at line 46 of file ChainIdStruct.h.

Member Function Documentation

◆ chainId() [1/2]

uint64_t Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::chainId ( ) const
inline

Definition at line 73 of file ChainIdStruct.h.

◆ chainId() [2/2]

void Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::chainId ( uint64_t  chainId)
inline

Definition at line 74 of file ChainIdStruct.h.

◆ chainType() [1/2]

Common::MediaticData::ChainsType Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::chainType ( ) const
inline

Definition at line 71 of file ChainIdStruct.h.

◆ chainType() [2/2]

void Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::chainType ( Common::MediaticData::ChainsType  t)
inline

Definition at line 72 of file ChainIdStruct.h.

◆ elemType() [1/2]

ChainElemType Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::elemType ( ) const
inline

Definition at line 75 of file ChainIdStruct.h.

◆ elemType() [2/2]

void Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::elemType ( ChainElemType  type)
inline

Definition at line 76 of file ChainIdStruct.h.

◆ operator<()

bool Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::operator< ( const ChainIdStruct &  cis) const
inline

Definition at line 65 of file ChainIdStruct.h.

◆ operator=()

ChainIdStruct & Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::operator= ( const ChainIdStruct &  cis)
inline

Definition at line 54 of file ChainIdStruct.h.

◆ operator==()

bool Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::operator== ( const ChainIdStruct &  cis) const
inline

Definition at line 133 of file ChainIdStruct.h.

Member Data Documentation

◆ noid

const uint64_t Lima::LinguisticProcessing::LinguisticAnalysisStructure::ChainIdStruct::noid =UINT_MAX
static

Definition at line 37 of file ChainIdStruct.h.


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