10 #ifndef _STRUS_ATTRIBUTE_READER_INTERFACE_HPP_INCLUDED
11 #define _STRUS_ATTRIBUTE_READER_INTERFACE_HPP_INCLUDED
38 virtual std::string
getValue(
const Index& elementHandle_)
const=0;
43 virtual std::vector<std::string>
getNames()
const=0;
virtual Index elementHandle(const char *name) const =0
Get the handle of an element addressed by its name.
int32_t Index
Number type generally used for locally counted indices.
Definition: index.hpp:29
virtual std::vector< std::string > getNames() const =0
Get the names of all attributes defined in the storage.
Numeric types used for local and global indices.
Interface for accessing document attributes from a strus storage.
Definition: attributeReaderInterface.hpp:20
virtual std::string getValue(const Index &elementHandle_) const =0
Get the value of the attribute of the document in the current readed context – defined with skipDoc(c...
virtual ~AttributeReaderInterface()
Destructor.
Definition: attributeReaderInterface.hpp:24
virtual void skipDoc(const Index &docno)=0
Move the attribute reader context to a specific document.