Show CPropertyExtractor.h syntax highlighted
#ifndef __CPROPERTYEXTRACTOR_H__
#define __CPROPERTYEXTRACTOR_H__ 1
#include <list>
#include <map>
#include <osgIntrospectionToolKit/Export.h>
#include <osgIntrospectionToolKit/ExceptionUtility.h>
#include <osgIntrospectionToolKit/CommonStdType.h>
#include <osgIntrospection/Type>
namespace osgIntrospectionToolKit
{
class OSGINTROSPECTIONTOOLKIT_EXPORT CPropertyExtractor
{
public:
// static size_t extractMap(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoMap& pim);
static size_t extractList(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoList& pil);
static size_t extractAllList(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoList& pil);
// static size_t extractSimpleMap(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoMap& pim);
static size_t extractSimpleList(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoList& pil);
static size_t extractSimpleAllList(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoList& pil);
// static size_t extractArrayMap(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoMap& pim);
static size_t extractArrayList(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoList& pil);
static size_t extractArrayAllList(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoList& pil);
// static size_t extractIndexedMap(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoMap& pim);
static size_t extractIndexedList(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoList& pil);
static size_t extractIndexedAllList(const osgIntrospection::Type& type, osgIntrospection::PropertyInfoList& pil);
// static void extractName(const osgIntrospection::PropertyInfoMap& pim, NameMap& nm);
static void extractName(const osgIntrospection::PropertyInfoList& pil, NameList& nl);
private:
template <typename Predicate>
static size_t _removeIf(osgIntrospection::PropertyInfoList& pil, Predicate predicate);
};
}
#endif // ** __CPROPERTYEXTRACTOR_H__ ** //
See more files for this project here