#ifndef __GENERIC_LEVEL1_AUDIT_DATA_2006_10_09__ #define __GENERIC_LEVEL1_AUDIT_DATA_2006_10_09__ /** @class PerformAudit.h @author Brian Magill @date 10/06/2006 $Date: 2006/10/09 15:53:29 $ $Revision: 1.1 $ @copyright (©) Copyright 2006 by GATS Inc. 11864 Canon Blvd., Suite 101, Newport News, VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS Inc. @brief Displays audit trail of data objects Displays the audit trail for any class that inherits from AuditAbstract */ //---------------------------------------------------------------------- // #include "AuditAbstract.h" #include "AuditOutputAbstract.h" class PerformAudit { private: AuditOutputAbstract *auditOut; std::string processName; public: PerformAudit():auditOut(0), processName("PerformAudit"){ }; PerformAudit(AuditOutputAbstract &out):auditOut(&out), processName("PerformAudit"){ }; PerformAudit(PerformAudit const & rhs):auditOut(rhs.auditOut), processName(rhs.processName) { }; PerformAudit & operator = (PerformAudit const &rhs) { if(this == &rhs) return *this; auditOut = rhs.auditOut; processName = rhs.processName; return *this; }; ~PerformAudit() { }; /// /// @param data - Data object whose audit trail is to be displayed /// void operator() (AuditAbstract const &data) const; }; #endif