NCBI C++ ToolKit
Public Member Functions | List of all members
CHTMLPage::CTemplateLibFilter Class Referenceabstract

Search Toolkit Book for CHTMLPage::CTemplateLibFilter

Interface for a filter, which must be passed to one the LoadTemplateLib methods to select relevant parts of the loaded template library. More...

#include <html/page.hpp>

Public Member Functions

virtual bool TestAttribute (const string &attr_name, const string &test_pattern)=0
 This method is called by LoadTemplateLib methods to check whether a template within library should be loaded. More...
 
virtual ~CTemplateLibFilter ()
 

Detailed Description

Interface for a filter, which must be passed to one the LoadTemplateLib methods to select relevant parts of the loaded template library.

The TestAttribute() method is called for each attribute test defined in the template library.

Definition at line 220 of file page.hpp.

Constructor & Destructor Documentation

virtual CHTMLPage::CTemplateLibFilter::~CTemplateLibFilter ( )
inlinevirtual

Definition at line 231 of file page.hpp.

Member Function Documentation

virtual bool CHTMLPage::CTemplateLibFilter::TestAttribute ( const string attr_name,
const string test_pattern 
)
pure virtual

This method is called by LoadTemplateLib methods to check whether a template within library should be loaded.

If the method returns true, the template is loaded, otherwise it's skipped.


The documentation for this class was generated from the following file:
Modified on Thu Mar 30 17:13:33 2017 by modify_doxy.py rev. 506947