strusAnalyzer  0.17
Classes | Public Member Functions | List of all members
strus::analyzer::TokenMarkup Class Reference

Structure defining an annotation of text in a document. More...

#include <tokenMarkup.hpp>

Classes

class  Attribute
 Structure describing a document markup attribute. More...
 

Public Member Functions

 TokenMarkup ()
 Default constructor. More...
 
 TokenMarkup (const std::string &name_)
 Constructor. More...
 
 TokenMarkup (const std::string &name_, const std::vector< Attribute > &attributes_)
 Constructor. More...
 
 TokenMarkup (const TokenMarkup &o)
 Copy constructor. More...
 
const std::string & name () const
 Get the tag name of the markup element. More...
 
const std::vector< Attribute > & attributes () const
 Get the list of attributes of the markup element. More...
 
TokenMarkupoperator() (const std::string &name_, const std::string &value_)
 

Detailed Description

Structure defining an annotation of text in a document.

Constructor & Destructor Documentation

strus::analyzer::TokenMarkup::TokenMarkup ( )
inline

Default constructor.

strus::analyzer::TokenMarkup::TokenMarkup ( const std::string &  name_)
inlineexplicit

Constructor.

strus::analyzer::TokenMarkup::TokenMarkup ( const std::string &  name_,
const std::vector< Attribute > &  attributes_ 
)
inline

Constructor.

strus::analyzer::TokenMarkup::TokenMarkup ( const TokenMarkup o)
inline

Copy constructor.

Member Function Documentation

const std::vector<Attribute>& strus::analyzer::TokenMarkup::attributes ( ) const
inline

Get the list of attributes of the markup element.

const std::string& strus::analyzer::TokenMarkup::name ( ) const
inline

Get the tag name of the markup element.

TokenMarkup& strus::analyzer::TokenMarkup::operator() ( const std::string &  name_,
const std::string &  value_ 
)
inline

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