From 1fa7a4394c3dd8f12256952ce8c6fa46d1092e1a Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 1 Sep 2015 13:40:28 +0100 Subject: [PATCH] sim: Remove unused SerializeBuilder interface --- src/sim/serialize.hh | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/sim/serialize.hh b/src/sim/serialize.hh index 374e1a4d7..4eff2af40 100644 --- a/src/sim/serialize.hh +++ b/src/sim/serialize.hh @@ -364,34 +364,6 @@ class Serializable void debug_serialize(const std::string &cpt_dir); -// -// A SerializableBuilder serves as an evaluation context for a set of -// parameters that describe a specific instance of a Serializable. This -// evaluation context corresponds to a section in the .ini file (as -// with the base ParamContext) plus an optional node in the -// configuration hierarchy (the configNode member) for resolving -// Serializable references. SerializableBuilder is an abstract superclass; -// derived classes specialize the class for particular subclasses of -// Serializable (e.g., BaseCache). -// -// For typical usage, see the definition of -// SerializableClass::createObject(). -// -class SerializableBuilder -{ - public: - - SerializableBuilder() {} - - virtual ~SerializableBuilder() {} - - // Create the actual Serializable corresponding to the parameter - // values in this context. This function is overridden in derived - // classes to call a specific constructor for a particular - // subclass of Serializable. - virtual Serializable *create() = 0; -}; - // // An instance of SerializableClass corresponds to a class derived from // Serializable. The SerializableClass instance serves to bind the string -- 2.30.2