Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Dali::Toolkit::Internal::Replacement Class Reference

#include <replacement.h>

Public Member Functions

 Replacement ()
 
 Replacement (const Property::Map &overrideMap, const Property::Map &defaultMap)
 
 Replacement (const Property::Map &defaultMap)
 
OptionalString IsString (const TreeNode &node) const
 
OptionalBoolean IsBoolean (const TreeNode &node) const
 
OptionalFloat IsFloat (const TreeNode &node) const
 
OptionalInteger IsInteger (const TreeNode &node) const
 
OptionalVector2 IsVector2 (const TreeNode &node) const
 
OptionalVector3 IsVector3 (const TreeNode &node) const
 
OptionalVector4 IsVector4 (const TreeNode &node) const
 
OptionalMatrix IsMatrix (const TreeNode &node) const
 
OptionalMatrix3 IsMatrix3 (const TreeNode &node) const
 
OptionalRect IsRect (const TreeNode &node) const
 
OptionalString IsString (OptionalChild child) const
 
OptionalFloat IsFloat (OptionalChild child) const
 
OptionalBoolean IsBoolean (OptionalChild child) const
 
OptionalInteger IsInteger (OptionalChild child) const
 
OptionalVector2 IsVector2 (OptionalChild child) const
 
OptionalVector3 IsVector3 (OptionalChild child) const
 
OptionalVector4 IsVector4 (OptionalChild child) const
 
OptionalMatrix IsMatrix (OptionalChild child) const
 
OptionalMatrix3 IsMatrix3 (OptionalChild child) const
 
OptionalRect IsRect (OptionalChild child) const
 
bool IsMap (OptionalChild child, Property::Value &out) const
 
bool IsArray (OptionalChild child, Property::Value &out) const
 

Private Member Functions

OptionalString HasFullReplacement (const TreeNode &node) const
 
Property::Value GetFullReplacement (const std::string &replacementString) const
 

Private Attributes

const Property::Map *const mOverrideMap
 
const Property::Map *const mDefaultMap
 

Detailed Description

Definition at line 46 of file replacement.h.

Constructor & Destructor Documentation

Dali::Toolkit::Internal::Replacement::Replacement ( )

Definition at line 173 of file replacement.cpp.

Dali::Toolkit::Internal::Replacement::Replacement ( const Property::Map overrideMap,
const Property::Map defaultMap 
)

Definition at line 156 of file replacement.cpp.

Dali::Toolkit::Internal::Replacement::Replacement ( const Property::Map defaultMap)

Definition at line 167 of file replacement.cpp.

Member Function Documentation

Property::Value Dali::Toolkit::Internal::Replacement::GetFullReplacement ( const std::string &  replacementString) const
private
OptionalString Dali::Toolkit::Internal::Replacement::HasFullReplacement ( const TreeNode node) const
private

Definition at line 179 of file replacement.cpp.

References Dali::Toolkit::TreeNode::HasSubstitution(), and IsString().

Referenced by IsArray(), IsBoolean(), IsFloat(), IsInteger(), IsMap(), IsMatrix(), IsMatrix3(), IsRect(), IsVector2(), IsVector3(), and IsVector4().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Toolkit::Internal::Replacement::IsArray ( OptionalChild  child,
Property::Value out 
) const

Definition at line 562 of file replacement.cpp.

References Dali::Property::ARRAY, GetFullReplacement(), and HasFullReplacement().

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalBoolean Dali::Toolkit::Internal::Replacement::IsBoolean ( const TreeNode node) const

Definition at line 223 of file replacement.cpp.

References Dali::Property::BOOLEAN, GetFullReplacement(), HasFullReplacement(), and Dali::Property::Value().

Referenced by Dali::Toolkit::Internal::CreateAnimation(), Dali::Toolkit::Internal::DeterminePropertyFromNode(), and IsBoolean().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalBoolean Dali::Toolkit::Internal::Replacement::IsBoolean ( OptionalChild  child) const

Definition at line 241 of file replacement.cpp.

References IsBoolean().

Here is the call graph for this function:

OptionalFloat Dali::Toolkit::Internal::Replacement::IsFloat ( const TreeNode node) const
OptionalFloat Dali::Toolkit::Internal::Replacement::IsFloat ( OptionalChild  child) const

Definition at line 434 of file replacement.cpp.

References IsFloat().

Here is the call graph for this function:

OptionalInteger Dali::Toolkit::Internal::Replacement::IsInteger ( const TreeNode node) const

Definition at line 306 of file replacement.cpp.

References GetFullReplacement(), HasFullReplacement(), Dali::Property::INTEGER, and Dali::Property::Value().

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode(), and IsInteger().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalInteger Dali::Toolkit::Internal::Replacement::IsInteger ( OptionalChild  child) const

Definition at line 459 of file replacement.cpp.

References IsInteger().

Here is the call graph for this function:

bool Dali::Toolkit::Internal::Replacement::IsMap ( OptionalChild  child,
Property::Value out 
) const

Definition at line 543 of file replacement.cpp.

References GetFullReplacement(), HasFullReplacement(), and Dali::Property::MAP.

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalMatrix Dali::Toolkit::Internal::Replacement::IsMatrix ( const TreeNode node) const

Definition at line 378 of file replacement.cpp.

References GetFullReplacement(), HasFullReplacement(), Dali::Property::MATRIX, and Dali::Property::Value().

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode(), and IsMatrix().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalMatrix Dali::Toolkit::Internal::Replacement::IsMatrix ( OptionalChild  child) const

Definition at line 507 of file replacement.cpp.

References IsMatrix().

Here is the call graph for this function:

OptionalMatrix3 Dali::Toolkit::Internal::Replacement::IsMatrix3 ( const TreeNode node) const

Definition at line 396 of file replacement.cpp.

References GetFullReplacement(), HasFullReplacement(), Dali::Property::MATRIX3, and Dali::Property::Value().

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode(), and IsMatrix3().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalMatrix3 Dali::Toolkit::Internal::Replacement::IsMatrix3 ( OptionalChild  child) const

Definition at line 519 of file replacement.cpp.

References IsMatrix3().

Here is the call graph for this function:

OptionalRect Dali::Toolkit::Internal::Replacement::IsRect ( const TreeNode node) const

Definition at line 414 of file replacement.cpp.

References GetFullReplacement(), HasFullReplacement(), Dali::Property::RECTANGLE, and Dali::Property::Value().

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode(), and IsRect().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalRect Dali::Toolkit::Internal::Replacement::IsRect ( OptionalChild  child) const

Definition at line 531 of file replacement.cpp.

References IsRect().

Here is the call graph for this function:

OptionalString Dali::Toolkit::Internal::Replacement::IsString ( const TreeNode node) const
OptionalString Dali::Toolkit::Internal::Replacement::IsString ( OptionalChild  child) const

Definition at line 447 of file replacement.cpp.

References IsString().

Here is the call graph for this function:

OptionalVector2 Dali::Toolkit::Internal::Replacement::IsVector2 ( const TreeNode node) const

Definition at line 324 of file replacement.cpp.

References GetFullReplacement(), HasFullReplacement(), Dali::Property::Value(), and Dali::Property::VECTOR2.

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode(), and IsVector2().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalVector2 Dali::Toolkit::Internal::Replacement::IsVector2 ( OptionalChild  child) const

Definition at line 471 of file replacement.cpp.

References IsVector2().

Here is the call graph for this function:

OptionalVector3 Dali::Toolkit::Internal::Replacement::IsVector3 ( const TreeNode node) const

Definition at line 342 of file replacement.cpp.

References GetFullReplacement(), HasFullReplacement(), Dali::Property::Value(), and Dali::Property::VECTOR3.

Referenced by Dali::Toolkit::Internal::CreateAnimation(), Dali::Toolkit::Internal::DeterminePropertyFromNode(), IsVector3(), and Dali::Toolkit::Internal::SetupActor().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalVector3 Dali::Toolkit::Internal::Replacement::IsVector3 ( OptionalChild  child) const

Definition at line 483 of file replacement.cpp.

References IsVector3().

Here is the call graph for this function:

OptionalVector4 Dali::Toolkit::Internal::Replacement::IsVector4 ( const TreeNode node) const

Definition at line 360 of file replacement.cpp.

References GetFullReplacement(), HasFullReplacement(), Dali::Property::Value(), and Dali::Property::VECTOR4.

Referenced by Dali::Toolkit::Internal::DeterminePropertyFromNode(), and IsVector4().

Here is the call graph for this function:

Here is the caller graph for this function:

OptionalVector4 Dali::Toolkit::Internal::Replacement::IsVector4 ( OptionalChild  child) const

Definition at line 495 of file replacement.cpp.

References IsVector4().

Here is the call graph for this function:

Member Data Documentation

const Property::Map* const Dali::Toolkit::Internal::Replacement::mDefaultMap
private

Definition at line 231 of file replacement.h.

Referenced by GetFullReplacement(), and IsString().

const Property::Map* const Dali::Toolkit::Internal::Replacement::mOverrideMap
private

Definition at line 228 of file replacement.h.

Referenced by GetFullReplacement(), and IsString().


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali