00001 // DCFencodeBase.h 00002 ////////////////////////////////////////////////////////////////////// 00003 // (c) Copyright 2001-2002 Brown Deer Technology, LLC. 00004 // All rights reserved. 00005 ////////////////////////////////////////////////////////////////////// 00006 00007 #ifndef DCFENCODEBASE_H 00008 #define DCFENCODEBASE_H 00009 00010 class DCFencodeBase 00011 { 00012 public: 00013 virtual int enctype() { return 0; } 00014 virtual int encsizeb() { return 0; } 00015 00016 friend 00017 ostream& operator << ( ostream& os, DCFencodeBase& enc ) { return os; } 00018 00019 friend 00020 istream& operator >> ( istream& is, DCFencodeBase& enc ) { return is; } 00021 }; 00022 00023 #endif 00024
1.3.6