Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBattrList.icc

Go to the documentation of this file.
00001 
00006 /*----------------------------------------------------------------------------*/
00007 /* C Tool Box: Designed and implemented by:                                   */
00008 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00009 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00010 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00011 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00012 /*------------------------------------------+---------------------------------*/
00013 
00014 //------------------------------------------+-----------------------------------
00016 
00017 inline CTBint CTBattrList::Size() const
00018 {
00019   return m_attrlist.Size();
00020 }
00021 
00022 //------------------------------------------+-----------------------------------
00024 
00025 inline bool CTBattrList::operator!() const
00026 {
00027   return m_attrlist.Size() == 0;
00028 }
00029 
00030 //------------------------------------------+-----------------------------------
00032 
00033 inline CTBattrList::operator void* () const
00034 {
00035   return (m_attrlist.Size()) ? (void*) this : 0;
00036 }
00037 
00038 //------------------------------------------+-----------------------------------
00044 inline ostream& operator<<(ostream& os, const CTBattrList& obj)
00045 {
00046   obj.ToStream(os);
00047   return os;
00048 }
00049 
00050 //------------------------------------------+-----------------------------------
00056 inline CTBxmlOStream& operator<<(CTBxmlOStream& xos, const CTBattrList& obj)
00057 {
00058   obj.ToXStream(xos);
00059   return xos;
00060 }
00061 
00062 //------------------------------------------+-----------------------------------
00068 inline CTBxmlIStream& operator>>(CTBxmlIStream& xis, CTBattrList& obj)
00069 {
00070   obj.FromXStream(xis);
00071   return xis;
00072 }
00073 

Generated at Fri Oct 24 18:11:27 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001