struct RGWObjectCtx {
RGWRados *store;
void *user_ctx;
RGWObjectCtxImpl<rgw_obj, RGWObjState> obj;
RGWObjectCtxImpl<rgw_raw_obj, RGWRawObjState> raw;
explicit RGWObjectCtx(RGWRados *_store) : store(_store), user_ctx(NULL), obj(store), raw(store) { }
RGWObjectCtx(RGWRados *_store, void *_user_ctx) : store(_store), user_ctx(_user_ctx), obj(store), raw(store) { }
};
Written with StackEdit.