PixelLightAPI  .
Public Member Functions
PLScene::SQByName Class Reference

Scene node enumeration by name scene query class. More...

#include <SQByName.h>

Inheritance diagram for PLScene::SQByName:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLS_API SQByName ()
 Default constructor.
virtual PLS_API ~SQByName ()
 Destructor.
PLS_API const PLCore::RegExGetRegEx () const
 Returns the used regular expression.
PLS_API void SetRegEx (const PLCore::RegEx &cRegEx)
 Sets the used regular expression.
virtual PLS_API bool PerformQuery () override
 Performs the query.

Detailed Description

Scene node enumeration by name scene query class.

Remarks:
This scene query will enumerate scene nodes of the scene graph if their name matches a given regular expression.
Note:
  • Cell portal recursion is not performed

Constructor & Destructor Documentation

Default constructor.

virtual PLS_API PLScene::SQByName::~SQByName ( ) [virtual]

Destructor.


Member Function Documentation

PLS_API const PLCore::RegEx& PLScene::SQByName::GetRegEx ( ) const

Returns the used regular expression.

Returns:
The used regular expression
PLS_API void PLScene::SQByName::SetRegEx ( const PLCore::RegEx cRegEx)

Sets the used regular expression.

Parameters:
[in]cRegExThe regular expression to use
virtual PLS_API bool PLScene::SQByName::PerformQuery ( ) [override, virtual]

Performs the query.

Note:
  • Before you start the query you have to do some settings within the derived query classes first. (for instance setting the query volume)
Returns:
'true' if the query was cancelled by the user, else 'false'

Implements PLScene::SceneQuery.


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


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:42
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported