#include <src/Utilities/Template.h>
List of all members.
template<typename T, typename Lookuper>
class ValueableIdx< T, Lookuper >
Constructor & Destructor Documentation
template<typename T, typename Lookuper>
Member Function Documentation
template<typename T, typename Lookuper>
virtual T ValueableIdx< T, Lookuper >::Get |
( |
| ) |
const [inline, virtual] |
template<typename T, typename Lookuper>
virtual T* ValueableIdx< T, Lookuper >::GetEx |
( |
| ) |
[inline, virtual] |
template<typename T, typename Lookuper>
template<typename T, typename Lookuper>
{
return this->GetEx();
}
template<typename T, typename Lookuper>
{
return this->GetEx();
}
template<typename T, typename Lookuper>
void ValueableIdx< T, Lookuper >::Read |
( |
INI_EX * |
parser, |
|
|
const char * |
pSection, |
|
|
const char * |
pKey |
|
) |
| [inline] |
{
if(parser->ReadString(pSection, pKey)) {
const char * val = parser->value();
int idx = Lookuper::FindIndex(val);
if(idx != -1) {
this->Set(idx);
} else {
if(_strcmpi(val, "<none>") && _strcmpi(val, "none")) {
Debug::INIParseFailed(pSection, pKey, val);
} else {
this->Set(idx);
}
}
}
}
template<typename T, typename Lookuper>
virtual void ValueableIdx< T, Lookuper >::Set |
( |
T |
val | ) |
[inline, virtual] |
template<typename T, typename Lookuper>
virtual void ValueableIdx< T, Lookuper >::SetEx |
( |
T * |
val | ) |
[inline, virtual] |
Member Data Documentation
template<typename T, typename Lookuper>
The documentation for this class was generated from the following file: