Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TStringLong.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/base:$Id$
0002 // Author: Rene Brun   15/11/95
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TStringLong
0013 #define ROOT_TStringLong
0014 
0015 //////////////////////////////////////////////////////////////////////////
0016 //                                                                      //
0017 // TStringLong                                                          //
0018 //                                                                      //
0019 // ATTENTION: this class is obsolete. It's functionality has been taken //
0020 // over by TString.                                                     //
0021 //                                                                      //
0022 // The long string class (unlimited number of chars in I/O).            //
0023 // Class TString can contain long strings, but it can read/write only   //
0024 // 255 characters.                                                      //
0025 //                                                                      //
0026 //////////////////////////////////////////////////////////////////////////
0027 
0028 #include "TString.h"
0029 
0030 class TStringLong : public TString {
0031 
0032 public:
0033    TStringLong();                       // Null string
0034    TStringLong(Ssiz_t ic);              // Suggested capacity
0035    TStringLong(const TString& s);       // Copy constructor
0036 
0037    TStringLong(const char *s);              // Copy to embedded null
0038    TStringLong(const char *s, Ssiz_t n);    // Copy past any embedded nulls
0039    TStringLong(char c);
0040 
0041    TStringLong(char c, Ssiz_t s);
0042 
0043    TStringLong(const TSubString& sub);
0044    virtual ~TStringLong();
0045 
0046    // ROOT I/O interface
0047    void     FillBuffer(char *&buffer) const override;
0048    void     ReadBuffer(char *&buffer) override;
0049    Int_t    Sizeof() const override;
0050 
0051    ClassDefOverride(TStringLong,1)  //Long string class (more than 255 chars)
0052 } R__ALWAYS_SUGGEST_ALTERNATIVE("TString");
0053 
0054 #endif