DoxyBugs  1
Printable.h
Go to the documentation of this file.
1 //================================================================================
2 // Copyright (C) NAB 2009
3 //================================================================================
4 // Copyright (C) 2009 National Australia Bank Ltd [All rights reserved].
5 // This product and related documentation are protected by copyright
6 // restricting its use, copying, distribution, and decompilation.
7 // No part of this product or related documentation may be reproduced
8 // in any form by any means without prior written authorization of
9 // National Australia Bank Ltd. No part of this product can be sold,
10 // leased, hired out, licensed or circulated in any way without the
11 // written authorization of National Australia Bank Ltd.
12 // Unless otherwise arranged, third parties may not have access to
13 // this product or related documents.
14 //================================================================================
15 
17 
18 #if !defined nab_Printable_h
19 #define nab_Printable_h
20 
21 #include <ostream>
22 
23 namespace nab
24 {
25 
28  struct Printable
29  {
32  virtual void print(std::ostream& os) const = 0;
33  };
34 }
35 
36 #endif // nab_Printable_h
37 
38 //================================================================================
39 // Copyright (C) NAB 2009
40 //================================================================================