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

A resource Type & Path pair. More...

#include <resource-type-path.h>

Collaboration diagram for Dali::Internal::ResourceTypePath:
Collaboration graph

Public Member Functions

 ResourceTypePath (const Integration::ResourceType &requestType, const std::string &requestPath)
 Create a resource Type and Path pair. More...
 ResourceTypePath (const ResourceTypePath &typePath)
 Copy constructor. More...
 ~ResourceTypePath ()
bool operator< (const ResourceTypePath &rhs) const
 Less than operator. More...

Public Attributes

const Integration::ResourceTypetype
const std::string path

Private Member Functions

ResourceTypePathoperator= (const ResourceTypePath &rhs)
 Undefined assignment operator. More...

Detailed Description

A resource Type & Path pair.

This is used by ResourceManager when creating tickets. A new ticket will only be needed, if the same resource Type & Path has not already been requested.

Definition at line 36 of file resource-type-path.h.

Constructor & Destructor Documentation

Dali::Internal::ResourceTypePath::ResourceTypePath ( const Integration::ResourceType requestType,
const std::string &  requestPath 

Create a resource Type and Path pair.

[in]requestTypeThe type of resource.
[in]requestPathThe path of the resource.

Definition at line 45 of file resource-type-path.h.

Dali::Internal::ResourceTypePath::ResourceTypePath ( const ResourceTypePath typePath)

Copy constructor.

[in]typePathThe Type & Path to copy.

Definition at line 56 of file resource-type-path.h.

Dali::Internal::ResourceTypePath::~ResourceTypePath ( )

Definition at line 62 of file resource-type-path.h.

References type.

Member Function Documentation

bool Dali::Internal::ResourceTypePath::operator< ( const ResourceTypePath rhs) const

Less than operator.

[in]rhsThe request to compare with.

Definition at line 125 of file resource-type-path.cpp.

References path, Dali::Internal::anonymous_namespace{resource-type-path.cpp}::ResourceTypeCompare(), and type.

Here is the call graph for this function:

ResourceTypePath& Dali::Internal::ResourceTypePath::operator= ( const ResourceTypePath rhs)

Undefined assignment operator.

[in]rhsThe resource request to copy.

Member Data Documentation

const std::string Dali::Internal::ResourceTypePath::path
const Integration::ResourceType* Dali::Internal::ResourceTypePath::type

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