Code Search for Developers
 
 
  

CPropertyExtractor.h from osgDesigner at Krugle


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

osgDesigner

osgDesigner is a graphical tool used to modify an OpenSceneGraph (OSG) scene using the osgIntrospection framework. OpenSceneGraph developpers will be able to extend osgDesigner at need using (editor | render | osgIntrospection wrapper) plugin system.

Project homepage: http://sourceforge.net/projects/osgdesigner
Programming language(s): C++,Shell Script
License: other

  CArrayItemLink.h
  CIndexedItemLink.h
  CPropertyExtractor.h
  CReflectedInstance.h
  CReflectedPointer.h
  CReflectedRefPointer.h
  CReflectedValueLinkExtractor.h
  CValueTree.h
  CValueTreeFunctor.h
  CValueTreeModifier.h
  CommonStdType.h
  ControlList.h
  ExceptionUtility.h
  Export.h
  IGraph.h
  IReflectedValue.h
  IReflectedValueLink.h
  SMemoryManager.h
  STypeGraph.h
  SWrapperManager.h
  signalslib.hpp