@@ -308,13 +308,13 @@ So you may add Extract method to a Galley, and use this new object as a Stamp.
308308To add extract method to Galley you should use multiple inheritance.
309309
310310```
311- class ArrayOfComplexIntStamp: public GalleyVectorStr, public StampBaseStr
311+ class ArrayOfComplexIntStamp: public GalleyVectorStr, public StampBaseStr
312312{
313313 protected:
314314 ComplexIntStamp * item_stamp_p;
315315 public:
316- ArrayOfComplexIntStamp (): GalleyVectorStr(*(item_stamp_p = new ComplexIntStamp())) {};
317- ~ArrayOfComplexIntStamp () {delete item_stamp_p;};
316+ ComplexIntArrayStamp (): GalleyVectorStr(*(item_stamp_p = new ComplexIntStamp())) {};
317+ ~ComplexIntArrayStamp () {delete item_stamp_p;};
318318
319319 virtual std::string ExtractStr(Blob &blob) override;
320320};
@@ -326,7 +326,7 @@ We implement only the Extract method we need.
326326
327327
328328```
329- std::stringArrayOfComplexIntStamp ::ExtractStr(Blob &blob)
329+ std::stringComplexIntArrayStamp ::ExtractStr(Blob &blob)
330330{
331331 std::vector<std::string> data = ExtractStrVector(blob);
332332 std::string res = "";