NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CProjectsLstFileFilter Class Reference

Search Toolkit Book for CProjectsLstFileFilter

#include "proj_projects.hpp"
(Private to src/build-system/project_tree_builder.)

+ Inheritance diagram for CProjectsLstFileFilter:
+ Collaboration diagram for CProjectsLstFileFilter:

Public Types

typedef list< stringTPath
 

Public Member Functions

 CProjectsLstFileFilter (const string &root_src_dir, const string &file_full_path)
 
virtual ~CProjectsLstFileFilter (void)
 
virtual bool CheckProject (const string &project_base_dir, bool *weak=0) const
 
virtual bool PassAll (void) const
 
virtual bool ExcludePotential (void) const
 
void SetExcludePotential (bool excl)
 
- Public Member Functions inherited from IProjectFilter
virtual ~IProjectFilter (void)
 

Static Public Member Functions

static string GetAllowedTagsInfo (const string &file_full_path)
 

Private Member Functions

string ConvertToMask (const string &name)
 
void InitFromString (const string &subtree)
 
void InitFromFile (const string &file_full_path)
 
 CProjectsLstFileFilter (void)
 
 CProjectsLstFileFilter (const CProjectsLstFileFilter &)
 
CProjectsLstFileFilteroperator= (const CProjectsLstFileFilter &)
 

Private Attributes

string m_RootSrcDir
 
bool m_PassAll
 
bool m_ExcludePotential
 
list< stringm_listEnabled
 
list< stringm_listDisabled
 

Detailed Description

Definition at line 39 of file proj_projects.hpp.

Member Typedef Documentation

◆ TPath

Definition at line 65 of file proj_projects.hpp.

Constructor & Destructor Documentation

◆ CProjectsLstFileFilter() [1/3]

CProjectsLstFileFilter::CProjectsLstFileFilter ( const string root_src_dir,
const string file_full_path 
)

◆ ~CProjectsLstFileFilter()

virtual CProjectsLstFileFilter::~CProjectsLstFileFilter ( void  )
inlinevirtual

Definition at line 46 of file proj_projects.hpp.

◆ CProjectsLstFileFilter() [2/3]

CProjectsLstFileFilter::CProjectsLstFileFilter ( void  )
private

◆ CProjectsLstFileFilter() [3/3]

CProjectsLstFileFilter::CProjectsLstFileFilter ( const CProjectsLstFileFilter )
private

Member Function Documentation

◆ CheckProject()

bool CProjectsLstFileFilter::CheckProject ( const string project_base_dir,
bool weak = 0 
) const
virtual

◆ ConvertToMask()

string CProjectsLstFileFilter::ConvertToMask ( const string name)
private

Definition at line 62 of file proj_projects.cpp.

References NStr::EndsWith(), and NStr::Replace().

Referenced by CProjectsLstFileFilter(), and InitFromFile().

◆ ExcludePotential()

virtual bool CProjectsLstFileFilter::ExcludePotential ( void  ) const
inlinevirtual

Implements IProjectFilter.

Definition at line 55 of file proj_projects.hpp.

References m_ExcludePotential.

◆ GetAllowedTagsInfo()

string CProjectsLstFileFilter::GetAllowedTagsInfo ( const string file_full_path)
static

◆ InitFromFile()

void CProjectsLstFileFilter::InitFromFile ( const string file_full_path)
private

◆ InitFromString()

void CProjectsLstFileFilter::InitFromString ( const string subtree)
private

◆ operator=()

CProjectsLstFileFilter& CProjectsLstFileFilter::operator= ( const CProjectsLstFileFilter )
private

◆ PassAll()

virtual bool CProjectsLstFileFilter::PassAll ( void  ) const
inlinevirtual

Implements IProjectFilter.

Definition at line 51 of file proj_projects.hpp.

References m_PassAll.

◆ SetExcludePotential()

void CProjectsLstFileFilter::SetExcludePotential ( bool  excl)
inline

Definition at line 59 of file proj_projects.hpp.

References m_ExcludePotential.

Member Data Documentation

◆ m_ExcludePotential

bool CProjectsLstFileFilter::m_ExcludePotential
private

◆ m_listDisabled

list<string> CProjectsLstFileFilter::m_listDisabled
private

Definition at line 72 of file proj_projects.hpp.

Referenced by CheckProject(), CProjectsLstFileFilter(), and InitFromFile().

◆ m_listEnabled

list<string> CProjectsLstFileFilter::m_listEnabled
private

◆ m_PassAll

bool CProjectsLstFileFilter::m_PassAll
private

Definition at line 68 of file proj_projects.hpp.

Referenced by CheckProject(), CProjectsLstFileFilter(), InitFromString(), and PassAll().

◆ m_RootSrcDir

string CProjectsLstFileFilter::m_RootSrcDir
private

Definition at line 67 of file proj_projects.hpp.

Referenced by CheckProject(), CProjectsLstFileFilter(), and InitFromString().


The documentation for this class was generated from the following files:
Modified on Wed Mar 27 11:18:19 2024 by modify_doxy.py rev. 669887