You.i Engine
YiPropertiesSource.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_PROPERTIES_SOURCE_H_
3 #define _YI_PROPERTIES_SOURCE_H_
4 
5 #include <map>
6 
7 class CYIString;
8 
13 
18 {
19 public:
20  virtual ~IYIPropertiesSource() {}
21 
25  virtual bool GetProperty(const CYIString &propertyName, CYIString *pValue) const = 0;
26 
30  virtual const std::map<CYIString, CYIString> &GetProperties() const = 0;
31 };
32 
35 #endif // _YI_PROPERTIES_SOURCE_H_
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
virtual const std::map< CYIString, CYIString > & GetProperties() const =0
virtual bool GetProperty(const CYIString &propertyName, CYIString *pValue) const =0
virtual ~IYIPropertiesSource()
Definition: YiPropertiesSource.h:20
An interface to a class that provides key-value properties.
Definition: YiPropertiesSource.h:17