Dali 3D User Interface Engine
Functions | Variables
Dali::Toolkit::Internal::anonymous_namespace{replacement.cpp} Namespace Reference

Functions

Property::ValueFindReplacement (const std::string &str, const Property::Map &overrideMap, const Property::Map &defaultMap)
 
std::size_t FirstUnescapedChar (const std::string &initialValue, const std::size_t &startPos, const char c)
 
bool GetSubstitutionPosition (const std::string &initialValue, std::size_t &startPos, std::size_t &size)
 
bool ResolvePartialReplacement (const std::string &initialValue, Property::Value &out, const Property::Map &overrideMap, const Property::Map &defaultMap)
 

Variables

Property::Map noMap
 

Function Documentation

Property::Value* Dali::Toolkit::Internal::anonymous_namespace{replacement.cpp}::FindReplacement ( const std::string &  str,
const Property::Map &  overrideMap,
const Property::Map &  defaultMap 
)

Definition at line 35 of file replacement.cpp.

References Dali::Property::Value().

Referenced by Dali::Toolkit::Internal::Replacement::GetFullReplacement(), and ResolvePartialReplacement().

Here is the call graph for this function:

Here is the caller graph for this function:

std::size_t Dali::Toolkit::Internal::anonymous_namespace{replacement.cpp}::FirstUnescapedChar ( const std::string &  initialValue,
const std::size_t &  startPos,
const char  c 
)

Definition at line 50 of file replacement.cpp.

Referenced by GetSubstitutionPosition().

Here is the caller graph for this function:

bool Dali::Toolkit::Internal::anonymous_namespace{replacement.cpp}::GetSubstitutionPosition ( const std::string &  initialValue,
std::size_t &  startPos,
std::size_t &  size 
)

Definition at line 72 of file replacement.cpp.

References FirstUnescapedChar().

Referenced by ResolvePartialReplacement().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Toolkit::Internal::anonymous_namespace{replacement.cpp}::ResolvePartialReplacement ( const std::string &  initialValue,
Property::Value &  out,
const Property::Map &  overrideMap,
const Property::Map &  defaultMap 
)

Definition at line 101 of file replacement.cpp.

References DALI_SCRIPT_WARNING, FindReplacement(), Dali::PropertyTypes::GetName(), GetSubstitutionPosition(), Dali::Property::STRING, and Dali::Property::Value().

Referenced by Dali::Toolkit::Internal::Replacement::IsString().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

Property::Map Dali::Toolkit::Internal::anonymous_namespace{replacement.cpp}::noMap

Definition at line 164 of file replacement.cpp.

Dali Docs Home
Read more about Dali