Every InterfaceEntry stores the necessary information related to a interface, such as:
#include <interfaces_utils.h>
Public Member Functions | |
InterfaceEntry (T *p) | |
~InterfaceEntry () | |
bool | is_name_equal (const char *name) |
virtual void * | get_pointer () |
InterfaceEntry (T *p) | |
~InterfaceEntry () | |
bool | is_name_equal (const char *name) |
virtual void * | get_pointer () |
InterfaceEntry (T *p) | |
~InterfaceEntry () | |
bool | is_name_equal (const char *name) |
virtual void * | get_pointer () |
Every InterfaceEntry stores the necessary information related to a interface, such as:
Definition at line 60 of file images/plugin_impl/interfaces_utils.h.
utils::InterfaceEntry< T >::InterfaceEntry | ( | T * | p | ) | [inline] |
Definition at line 63 of file images/plugin_impl/interfaces_utils.h.
utils::InterfaceEntry< T >::~InterfaceEntry | ( | ) | [inline] |
Definition at line 68 of file images/plugin_impl/interfaces_utils.h.
utils::InterfaceEntry< T >::InterfaceEntry | ( | T * | p | ) | [inline] |
Definition at line 63 of file pdf/plugin_impl/interfaces_utils.h.
utils::InterfaceEntry< T >::~InterfaceEntry | ( | ) | [inline] |
Definition at line 68 of file pdf/plugin_impl/interfaces_utils.h.
utils::InterfaceEntry< T >::InterfaceEntry | ( | T * | p | ) | [inline] |
Definition at line 63 of file plaintext/plugin_impl/interfaces_utils.h.
utils::InterfaceEntry< T >::~InterfaceEntry | ( | ) | [inline] |
Definition at line 68 of file plaintext/plugin_impl/interfaces_utils.h.
virtual void* utils::InterfaceEntry< T >::get_pointer | ( | ) | [inline, virtual] |
Implements utils::InterfaceBase.
Definition at line 90 of file plaintext/plugin_impl/interfaces_utils.h.
virtual void* utils::InterfaceEntry< T >::get_pointer | ( | ) | [inline, virtual] |
Implements utils::InterfaceBase.
Definition at line 90 of file pdf/plugin_impl/interfaces_utils.h.
virtual void* utils::InterfaceEntry< T >::get_pointer | ( | ) | [inline, virtual] |
Implements utils::InterfaceBase.
Definition at line 90 of file images/plugin_impl/interfaces_utils.h.
bool utils::InterfaceEntry< T >::is_name_equal | ( | const char * | name | ) | [inline, virtual] |
Implements utils::InterfaceBase.
Definition at line 72 of file plaintext/plugin_impl/interfaces_utils.h.
References name.
00073 { 00074 if (name_.size() <= 0) 00075 { 00076 name_ = typeid(T).name(); 00077 std::string::size_type start = name_.find("IPlugin"); 00078 if (start != std::string::npos) 00079 { 00080 name_ = name_.substr(start); 00081 } 00082 else 00083 { 00084 name_.clear(); 00085 } 00086 } 00087 return name_ == name; 00088 }
bool utils::InterfaceEntry< T >::is_name_equal | ( | const char * | name | ) | [inline, virtual] |
Implements utils::InterfaceBase.
Definition at line 72 of file pdf/plugin_impl/interfaces_utils.h.
References name.
00073 { 00074 if (name_.size() <= 0) 00075 { 00076 name_ = typeid(T).name(); 00077 std::string::size_type start = name_.find("IPlugin"); 00078 if (start != std::string::npos) 00079 { 00080 name_ = name_.substr(start); 00081 } 00082 else 00083 { 00084 name_.clear(); 00085 } 00086 } 00087 return name_ == name; 00088 }
bool utils::InterfaceEntry< T >::is_name_equal | ( | const char * | name | ) | [inline, virtual] |
Implements utils::InterfaceBase.
Definition at line 72 of file images/plugin_impl/interfaces_utils.h.
References name.
00073 { 00074 if (name_.size() <= 0) 00075 { 00076 name_ = typeid(T).name(); 00077 std::string::size_type start = name_.find("IPlugin"); 00078 if (start != std::string::npos) 00079 { 00080 name_ = name_.substr(start); 00081 } 00082 else 00083 { 00084 name_.clear(); 00085 } 00086 } 00087 return name_ == name; 00088 }