Choreonoid  1.8
Public Types | Public Member Functions | List of all members
cnoid::ItemManager::FileFunction< ItemType > Class Template Reference

#include <ItemManager.h>

Inheritance diagram for cnoid::ItemManager::FileFunction< ItemType >:
cnoid::ItemManager::FileFunctionBase

Public Types

typedef std::function< bool(ItemType *item, const std::string &filename, std::ostream &os, Item *parentItem)> Function
 

Public Member Functions

 FileFunction (Function function)
 
virtual bool operator() (Item *item, const std::string &filename, std::ostream &os, Item *parentItem)
 
- Public Member Functions inherited from cnoid::ItemManager::FileFunctionBase
virtual ~FileFunctionBase ()
 

Member Typedef Documentation

◆ Function

template<class ItemType >
typedef std::function<bool(ItemType* item, const std::string& filename, std::ostream& os, Item* parentItem)> cnoid::ItemManager::FileFunction< ItemType >::Function

Constructor & Destructor Documentation

◆ FileFunction()

template<class ItemType >
cnoid::ItemManager::FileFunction< ItemType >::FileFunction ( Function  function)
inline

Member Function Documentation

◆ operator()()

template<class ItemType >
virtual bool cnoid::ItemManager::FileFunction< ItemType >::operator() ( Item item,
const std::string &  filename,
std::ostream &  os,
Item parentItem 
)
inlinevirtual

The documentation for this class was generated from the following file: