GL Studio C++ Runtime API
RSOResourceFilterImpl Class Reference

#include <gls_rso_interface_impl.h>

Inheritance diagram for RSOResourceFilterImpl:
RSOInterface1::ResourceFilter

Public Member Functions

int LevelsUp () const override
 
int GroupLevelsDown () const override
 
bool NamesOnly () const override
 
void AddExclude (const char *str) override
 Manage the list of excluded attributes.
 
int ExcludeCount () const override
 
const char * GetExclude (int index) const override
 Returns NULL if index >= ExcludeCount() or index < -1.
 
void AddInclude (const char *str) override
 Manage the list of included attributes.
 
int IncludeCount () const override
 
bool PassFilter (const char *name) const override
 

Detailed Description

Wraps a GlsResourceFilter so it can be passed to the RSO Interface's GetResources call

Member Function Documentation

int ExcludeCount ( ) const
inlineoverridevirtual

Returns the number of entries in the exclude list. Default: 0

Implements RSOInterface1::ResourceFilter.

int GroupLevelsDown ( ) const
inlineoverridevirtual

How many levels of children to show. 0 means don't show any children properties -1 means all the way down. Default: -1

Implements RSOInterface1::ResourceFilter.

int IncludeCount ( ) const
inlineoverridevirtual

Returns the number of entries in the include list. Default: 0

Implements RSOInterface1::ResourceFilter.

int LevelsUp ( ) const
inlineoverridevirtual

How many levels of qualification to show in the name. -1 means full qualification. Default: 0 // TODO: confirm this default

Implements RSOInterface1::ResourceFilter.

bool NamesOnly ( ) const
inlineoverridevirtual

If true, only a list of names will be returned. Values will not be returned. The format changes to not include the ":". Default: false

Implements RSOInterface1::ResourceFilter.

bool PassFilter ( const char *  name) const
inlineoverridevirtual

Check a name against the filters Exclude list takes precedence

Implements RSOInterface1::ResourceFilter.


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