version 1.1.2.3, 2004/09/01 20:07:58
|
version 1.1.2.4, 2004/09/02 20:04:22
|
|
|
} | } |
return CQLValue(); | return CQLValue(); |
} | } |
|
|
void* CQLFactory::getObject(void* inObject, FactoryType inObjectType, FactoryType targetType){ |
|
/* | /* |
We cast inObject based on inObjectType, traverse the tree until |
void* CQLFactory::getObject(void* inObject, FactoryType inObjectType, FactoryType targetType){ |
we find the targetType and return that. inObjectType must be higher in |
|
the inheritance heirarchy than targetType. |
|
*/ |
|
|
|
switch(inObjectType){ | switch(inObjectType){ |
case Predicate: | case Predicate: |
return getObject(((CQLPredicate*)inObject),targetType); | return getObject(((CQLPredicate*)inObject),targetType); |
|
|
} | } |
} | } |
| |
|
*/ |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |