CReflectedValueLinkExtractor.h from osgDesigner at Krugle
Show CReflectedValueLinkExtractor.h syntax highlighted
#ifndef __CREFLECTEDVALUELINKEXTRACTOR_H__
#define __CREFLECTEDVALUELINKEXTRACTOR_H__ 1
#include <list>
#include <map>
#include <osg/ref_ptr>
#include <osgIntrospection/Type>
#include <osgIntrospection/Value>
#include <osgIntrospectionToolKit/Export.h>
#include <osgIntrospectionToolKit/IReflectedValueLink.h>
namespace osgIntrospectionToolKit
{
typedef std::list< osg::ref_ptr< IReflectedValueLink > > ReflectedValueLinkList;
typedef std::map< const osgIntrospection::Type* , ReflectedValueLinkList > ReflectedValueLinkMap;
class OSGINTROSPECTIONTOOLKIT_EXPORT CReflectedValueLinkExtractor
{
public:
CReflectedValueLinkExtractor();
virtual ~CReflectedValueLinkExtractor();
// static size_t extractMap(const osgIntrospection::Value& value, const osgIntrospection::PropertyInfoMap& pim, ReflectedValueLinkMap& rvlm);
static size_t extractList(const osgIntrospection::Value& value, const osgIntrospection::PropertyInfoList& pil, ReflectedValueLinkList& rvll);
static bool extractReflectedValueLink(const osgIntrospection::Value& value, const osgIntrospection::PropertyInfo& pi, ReflectedValueLinkList& rvll);
};
}
#endif // ** __CREFLECTEDVALUELINKEXTRACTOR_H__ ** //
See more files for this project here