XII Release 0.1.0
Loading...
Searching...
No Matches
xiiExternalFileBrowserAttribute Class Reference

#include <PropertyAttributes.h>

Inheritance diagram for xiiExternalFileBrowserAttribute:
[legend]

Public Member Functions

 xiiExternalFileBrowserAttribute (xiiStringView sDialogTitle, xiiStringView sTypeFilter)
xiiStringView GetDialogTitle () const
xiiStringView GetTypeFilter () const
Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTI * GetDynamicRTTI () const
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.

Additional Inherited Members

Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()

Detailed Description

Indicates that the string property should allow to browse for an file (or programs) outside the project directories.

Allows to specify the title for the browse dialog and the allowed file types. Usage: XII_MEMBER_PROPERTY("File", m_sFilePath)->AddAttributes(new xiiFileBrowserAttribute("Choose a File", "*.exe")),


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