
/*******************************  LICENSE  *******************************

 * (C) Copyright 1996-2016 ECMWF.
 *
 * This software is licensed under the terms of the Apache Licence Version 2.0
 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
 * In applying this licence, ECMWF does not waive the privileges and immunities
 * granted to it by virtue of its status as an intergovernmental organisation nor
 * does it submit to any jurisdiction.

 *******************************  LICENSE  *******************************/

/*! \fileGribAddressRecordModeAttributes.h
    \brief Definition of GribAddressRecordMode Attributes class.

    This file is automatically generated.
    Do Not Edit!

    Generated: 
*/


#ifndef GribAddressRecordModeWrapper_H
#define GribAddressRecordModeWrapper_H

#include "magics.h"
#include "ParameterManager.h"
#include "Factory.h"



#include "GribAddressMode.h"



#include "GribAddressModeWrapper.h"








namespace magics {

class MagRequest;


class GribAddressRecordModeWrapper: public GribAddressModeWrapper

{
public:
//  --  constructor
    GribAddressRecordModeWrapper();
    GribAddressRecordModeWrapper(GribAddressRecordMode*);
//  --  destructor
    virtual ~GribAddressRecordModeWrapper();
    virtual void set(const MagRequest&);

    GribAddressRecordMode* me()   { return gribaddressrecordmode_; }

   	virtual GribAddressRecordMode* object() { return gribaddressrecordmode_; }


	virtual void object(GribAddressRecordMode* o) {
		// Remember to delete the previous object
		gribaddressrecordmode_ = o;
		GribAddressModeWrapper::object(o);
		

	}



protected:
    GribAddressRecordMode* gribaddressrecordmode_;


//  --  method
	virtual void print(ostream&) const;


private:
    string tag_;
	friend ostream& operator<<(ostream& s,const GribAddressRecordModeWrapper& p)
	{ p.print(s); return s; }
};

} // namespace magics

#endif