Go to the documentation of this file.
34 #ifndef TTA_REFERENCE_REPLACER_HH
35 #define TTA_REFERENCE_REPLACER_HH
static BinaryStream * stream_
Stream for writing replacements.
static void addReplacement(ValueReplacer *obj)
static void initialize(BinaryStream &stream)
virtual ValueReplacer * clone()=0
Creates dynamically allocated clone of object.
static BinaryStream & stream()
unsigned int streamPosition_
File offset where replacement is done.
unsigned int streamPosition() const
virtual bool tryToReplace()=0
Does replacement if can. If can't returns false.
const SafePointable * reference_
Reference which to be written.
ValueReplacer(const SafePointable *obj)
const SafePointable * reference() const
static std::set< ValueReplacer * > replacements_
Replacements which should be done afterwards.