Home
last modified time | relevance | path

Searched refs:PolyDerivedLA (Results 1 – 6 of 6) sorted by relevance

/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/cereal/unittests/
H A Dpolymorphic.cpp80 struct PolyDerivedLA : public PolyLA struct
82 PolyDerivedLA( int xx ) : x( xx ) { } in PolyDerivedLA() function
105 bool operator==( PolyDerivedLA const & other ) const in operator ==() argument
112 …if( !(*std::dynamic_pointer_cast<PolyDerivedLA>(vec[i]) == *std::dynamic_pointer_cast<PolyDerivedL… in operator ==()
119 std::ostream& operator<<(std::ostream& os, PolyDerivedLA const & s) in operator <<()
123 os << " child: " << (*std::dynamic_pointer_cast<PolyDerivedLA>(v)); in operator <<()
134 CEREAL_REGISTER_TYPE(PolyDerivedLA) in CEREAL_REGISTER_TYPE() argument
153 auto pda = std::make_shared<PolyDerivedLA>( rngI() ); in CEREAL_REGISTER_TYPE()
154 pda->vec.emplace_back( std::make_shared<PolyDerivedLA>( rngI() ) ); in CEREAL_REGISTER_TYPE()
188 BOOST_CHECK_EQUAL(*((PolyDerivedLA*)i_sharedLA.get()), *((PolyDerivedLA*)o_sharedLA.get())); in CEREAL_REGISTER_TYPE()
[all …]
/dports/misc/openmvg/openMVG-2.0/src/dependencies/cereal/unittests/
H A Dpolymorphic.hpp188 struct PolyDerivedLA : public PolyLA struct
190 PolyDerivedLA( int xx ) : x( xx ) { } in PolyDerivedLA() function
191 virtual ~PolyDerivedLA() {} in ~PolyDerivedLA() argument
214 bool operator==( PolyDerivedLA const & other ) const in operator ==() argument
221 …if( !(*std::dynamic_pointer_cast<PolyDerivedLA>(vec[i]) == *std::dynamic_pointer_cast<PolyDerivedL… in operator ==()
228 CEREAL_REGISTER_TYPE(PolyDerivedLA)
285 auto pda = std::make_shared<PolyDerivedLA>( rngI() ); in test_polymorphic()
365 …CHECK_EQ(*dynamic_cast<PolyDerivedLA*>(i_sharedLA.get()), *dynamic_cast<PolyDerivedLA*>(o_sharedLA… in test_polymorphic()
366 …CHECK_EQ(*dynamic_cast<PolyDerivedLA*>(i_sharedLA2.get()), *dynamic_cast<PolyDerivedLA*>(o_sharedL… in test_polymorphic()
368 …CHECK_EQ(*dynamic_cast<const PolyDerivedLA*>(i_sharedLAC.get()), *dynamic_cast<const PolyDerivedLA in test_polymorphic()
[all …]
/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/third-party/cereal/unittests/
H A Dpolymorphic.hpp188 struct PolyDerivedLA : public PolyLA struct
190 PolyDerivedLA( int xx ) : x( xx ) { } in PolyDerivedLA() argument
191 virtual ~PolyDerivedLA() {} in ~PolyDerivedLA() argument
214 bool operator==( PolyDerivedLA const & other ) const in operator ==() argument
221 …if( !(*std::dynamic_pointer_cast<PolyDerivedLA>(vec[i]) == *std::dynamic_pointer_cast<PolyDerivedL… in operator ==()
228 CEREAL_REGISTER_TYPE(PolyDerivedLA)
285 auto pda = std::make_shared<PolyDerivedLA>( rngI() ); in test_polymorphic()
365 …CHECK_EQ(*dynamic_cast<PolyDerivedLA*>(i_sharedLA.get()), *dynamic_cast<PolyDerivedLA*>(o_sharedLA… in test_polymorphic()
366 …CHECK_EQ(*dynamic_cast<PolyDerivedLA*>(i_sharedLA2.get()), *dynamic_cast<PolyDerivedLA*>(o_sharedL… in test_polymorphic()
368 …CHECK_EQ(*dynamic_cast<const PolyDerivedLA*>(i_sharedLAC.get()), *dynamic_cast<const PolyDerivedLA in test_polymorphic()
[all …]
/dports/devel/cereal/cereal-1.3.0-10-g64f50dbd/unittests/
H A Dpolymorphic.hpp188 struct PolyDerivedLA : public PolyLA struct
190 PolyDerivedLA( int xx ) : x( xx ) { } in PolyDerivedLA() argument
191 virtual ~PolyDerivedLA() {} in ~PolyDerivedLA() argument
214 bool operator==( PolyDerivedLA const & other ) const in operator ==() argument
221 …if( !(*std::dynamic_pointer_cast<PolyDerivedLA>(vec[i]) == *std::dynamic_pointer_cast<PolyDerivedL… in operator ==()
228 CEREAL_REGISTER_TYPE(PolyDerivedLA)
285 auto pda = std::make_shared<PolyDerivedLA>( rngI() ); in test_polymorphic()
365 …CHECK_EQ(*dynamic_cast<PolyDerivedLA*>(i_sharedLA.get()), *dynamic_cast<PolyDerivedLA*>(o_sharedLA… in test_polymorphic()
366 …CHECK_EQ(*dynamic_cast<PolyDerivedLA*>(i_sharedLA2.get()), *dynamic_cast<PolyDerivedLA*>(o_sharedL… in test_polymorphic()
368 …CHECK_EQ(*dynamic_cast<const PolyDerivedLA*>(i_sharedLAC.get()), *dynamic_cast<const PolyDerivedLA in test_polymorphic()
[all …]
/dports/math/e-antic/cereal-51cbda5/unittests/
H A Dpolymorphic.hpp188 struct PolyDerivedLA : public PolyLA struct
190 PolyDerivedLA( int xx ) : x( xx ) { } in PolyDerivedLA() function
191 virtual ~PolyDerivedLA() {} in ~PolyDerivedLA() argument
214 bool operator==( PolyDerivedLA const & other ) const in operator ==() argument
221 …if( !(*std::dynamic_pointer_cast<PolyDerivedLA>(vec[i]) == *std::dynamic_pointer_cast<PolyDerivedL… in operator ==()
228 CEREAL_REGISTER_TYPE(PolyDerivedLA)
229 CEREAL_REGISTER_POLYMORPHIC_RELATION(PolyLA, PolyDerivedLA)
231 std::ostream& operator<<(std::ostream& os, PolyDerivedLA const & s)
280 auto pda = std::make_shared<PolyDerivedLA>( rngI() ); in test_polymorphic()
331 …CHECK_EQ(*dynamic_cast<PolyDerivedLA*>(i_sharedLA.get()), *dynamic_cast<PolyDerivedLA*>(o_sharedLA… in test_polymorphic()
[all …]
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/test/external/cereal/unittests/
H A Dpolymorphic.hpp188 struct PolyDerivedLA : public PolyLA struct
190 PolyDerivedLA( int xx ) : x( xx ) { } in PolyDerivedLA() argument
191 virtual ~PolyDerivedLA() {} in ~PolyDerivedLA() argument
214 bool operator==( PolyDerivedLA const & other ) const in operator ==() argument
221 …if( !(*std::dynamic_pointer_cast<PolyDerivedLA>(vec[i]) == *std::dynamic_pointer_cast<PolyDerivedL… in operator ==()
228 CEREAL_REGISTER_TYPE(PolyDerivedLA)
229 CEREAL_REGISTER_POLYMORPHIC_RELATION(PolyLA, PolyDerivedLA)
231 std::ostream& operator<<(std::ostream& os, PolyDerivedLA const & s)
280 auto pda = std::make_shared<PolyDerivedLA>( rngI() ); in test_polymorphic()
331 …CHECK_EQ(*dynamic_cast<PolyDerivedLA*>(i_sharedLA.get()), *dynamic_cast<PolyDerivedLA*>(o_sharedLA… in test_polymorphic()
[all …]