40 #ifndef _GLS_RSO_CONTAINER_UTIL_H
41 #define _GLS_RSO_CONTAINER_UTIL_H
70 virtual int LevelsUp()
const {
return _filter?_filter->
LevelsUp():-1; }
71 virtual void LevelsUp(
int value) {
if(_filter) { _filter->
LevelsUp(value); } }
76 virtual int GroupLevelsDown()
const {
return _filter?_filter->
GroupLevelsDown():0; }
77 virtual void GroupLevelsDown(
int value) {
if(_filter) { _filter->
GroupLevelsDown(value); } }
82 virtual bool NamesOnly()
const {
return _filter?_filter->
NamesOnly():
false; }
83 virtual void NamesOnly(
bool value) {
if(_filter) { _filter->
NamesOnly(value); } }
86 virtual void AddExclude(
const char* str) {
if(_filter) { _filter->
AddExclude(str); } }
87 virtual int ExcludeCount()
const {
return _filter?_filter->
ExcludeCount():0; }
88 virtual const char* GetExclude(
int index)
const {
return (_filter)?(_filter->
GetExclude(index)):(NULL); }
91 virtual void AddInclude(
const char* str) {
if(_filter) { _filter->
AddInclude(str); } }
92 virtual int IncludeCount()
const {
return _filter?_filter->
IncludeCount():0; }
93 virtual const char* GetInclude(
int index)
const {
return (_filter)?(_filter->
GetInclude(index)):(NULL); }
96 virtual bool PassFilter(
const char* name)
const {
return _filter?_filter->
PassFilter(name):
true; }
const char * GetInclude(unsigned int index) const
unsigned int ExcludeCount() const
Returns the number of exclude entries in the filter.
bool NamesOnly()
Definition: gls_resources.h:103
Definition: gls_rso_container_util.h:51
Defines the RSO interface, which provides a generic way of accessing RSOs and other content...
void AddInclude(const char *name)
virtual bool PassFilter(const char *name)
Test a resource name against the filter.
Definition: rso_interface_1.h:564
unsigned int IncludeCount() const
Returns the number of includes in the filter.
void AddExclude(const char *name)
int LevelsUp()
Definition: gls_resources.h:79
int GroupLevelsDown()
Definition: gls_resources.h:96
Definition: gls_resources.h:50
disti::GlsResourceFilter classes and methods.
const char * GetExclude(unsigned int index) const
Definition: bmpimage.h:46