strus  0.17
Public Member Functions | List of all members
strus::AclReaderInterface Class Referenceabstract

Interface for accessing document attributes from a strus storage. More...

#include <aclReaderInterface.hpp>

Public Member Functions

virtual ~AclReaderInterface ()
 Destructor. More...
 
virtual void skipDoc (const Index &docno)=0
 Move the ACL reader context to a specific document. More...
 
virtual std::vector< std::string > getReadAccessList () const =0
 Get the names of all users that are attached to this document, allowed to read the document. More...
 

Detailed Description

Interface for accessing document attributes from a strus storage.

Constructor & Destructor Documentation

virtual strus::AclReaderInterface::~AclReaderInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual std::vector<std::string> strus::AclReaderInterface::getReadAccessList ( ) const
pure virtual

Get the names of all users that are attached to this document, allowed to read the document.

Returns
user names
virtual void strus::AclReaderInterface::skipDoc ( const Index docno)
pure virtual

Move the ACL reader context to a specific document.

Parameters
[in]docnothe number of the document to move the context to

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