11 #ifndef HPP_CORE_IDL_PATH_VALIATIONS_HH 12 # define HPP_CORE_IDL_PATH_VALIATIONS_HH 22 # include "hpp/core_idl/path_validations-idl.hh" 33 template <
typename _Base,
typename _Storage>
40 _ServantBase (server, s) {}
44 CORBA::Boolean
validate (hpp::core_idl::Path_ptr path,
45 CORBA::Boolean reverse,
46 hpp::core_idl::Path_out validPart,
47 hpp::core_idl::PathValidationReport_out report)
53 bool res =
get()->
validate (p, reverse, vp, pvr);
56 std::ostringstream oss; oss << *pvr;
57 std::string res = oss.str();
58 report = CORBA::string_dup(res.c_str());
60 report = CORBA::string_dup(
"");
63 validPart = makeServant<hpp::core_idl::Path_ptr> (
server_,
new Path (server_, vp));
74 #endif // HPP_CORE_IDL_PATH_VALIATIONS_HH Definition: servant-base.hh:100
boost::shared_ptr< Path > PathPtr_t
virtual ~PathValidationServant()
Definition: path-validations.hh:42
Implement CORBA interface ``Obstacle''.
PathServant< POA_hpp::core_idl::Path, core::PathPtr_t > Path
Definition: paths.hh:86
Server * server_
Definition: servant-base.hh:97
Definition: path_validations.idl:22
Definition: path-validations.hh:34
PathValidationServant(Server *server, const Storage &s)
Definition: path-validations.hh:39
Storage s
Definition: servant-base.hh:171
Implementation of Hpp module Corba server.
Definition: server.hh:54
PathValidationServant< POA_hpp::core_idl::PathValidation, core::PathValidationPtr_t > PathValidation
Definition: path-validations.hh:68
boost::shared_ptr< PathValidationReport > PathValidationReportPtr_t
_Storage Storage
Definition: servant-base.hh:103
CORBA::Boolean validate(hpp::core_idl::Path_ptr path, CORBA::Boolean reverse, hpp::core_idl::Path_out validPart, hpp::core_idl::PathValidationReport_out report)
Definition: path-validations.hh:44