Lines Matching refs:PolyDerivedLA
80 struct PolyDerivedLA : public PolyLA struct
82 PolyDerivedLA( int xx ) : x( xx ) { } in PolyDerivedLA() function
95 static void load_and_construct( Archive & ar, cereal::construct<PolyDerivedLA> & construct ) in load_and_construct() argument
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()
189 BOOST_CHECK_EQUAL(*((PolyDerivedLA*)i_sharedLA2.get()), *((PolyDerivedLA*)o_sharedLA.get())); in CEREAL_REGISTER_TYPE()