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

Structure describing a document attribute. More...

#include <documentAttribute.hpp>

Public Member Functions

 DocumentAttribute ()
 Default constructor. More...
 
 DocumentAttribute (const std::string &n, const std::string &v)
 Constructor. More...
 
 DocumentAttribute (const DocumentAttribute &o)
 Copy constructor. More...
 
const std::string & name () const
 Get the name of the attribute. More...
 
const std::string & value () const
 Get the value of the attribute. More...
 

Detailed Description

Structure describing a document attribute.

Constructor & Destructor Documentation

strus::analyzer::DocumentAttribute::DocumentAttribute ( )
inline

Default constructor.

strus::analyzer::DocumentAttribute::DocumentAttribute ( const std::string &  n,
const std::string &  v 
)
inline

Constructor.

Parameters
[in]nname of the attribute
[in]vvalue of the attribute
strus::analyzer::DocumentAttribute::DocumentAttribute ( const DocumentAttribute o)
inline

Copy constructor.

Member Function Documentation

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

Get the name of the attribute.

Returns
Name of the attribute
const std::string& strus::analyzer::DocumentAttribute::value ( ) const
inline

Get the value of the attribute.

Returns
Value of the attribute

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