Code Search for Developers
 
 
  

CIndexedItemLink.h from osgDesigner at Krugle


Show CIndexedItemLink.h syntax highlighted

#ifndef __CINDEXEDITEMLINK_H__
#define __CINDEXEDITEMLINK_H__ 1

#include <osgIntrospectionToolKit/Export.h>
#include <osgIntrospectionToolKit/IReflectedValueLink.h>

namespace osgIntrospectionToolKit
{
    /*************************************************
     * link class between an indexed reflectedValue
     *  and its items
     *************************************************/
    class OSGINTROSPECTIONTOOLKIT_EXPORT CIndexedItemLink : public IReflectedValueLink
    {
        public:
        	CIndexedItemLink(const osgIntrospection::PropertyInfo& pi, osgIntrospection::ValueList& valueList)
            :   IReflectedValueLink(pi),
                _valueList(valueList)
            {}
        
            virtual void                                    getName(std::string& name) const;
            virtual bool                                    getValue(const osgIntrospection::Value& parent, osgIntrospection::Value& ret) const;
            virtual bool                                    setValue(osgIntrospection::Value& parent, const osgIntrospection::Value& value) const;
            virtual bool                                    removeValue(osgIntrospection::Value& parent) const;
            virtual bool                                    isEqual(const IReflectedValueLink* rvl) const;
            virtual void                                    printInfo() const;
            
        protected:
        	virtual ~CIndexedItemLink()
            {}
        
            osgIntrospection::ValueList   _valueList;
    };
}
#endif // ** __CINDEXEDITEMLINK_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