idep_string.cxx File Reference

#include "idep_string.h"
#include <string.h>
#include <memory.h>

Go to the source code of this file.

Functions

static char * init (const char *str)
idep_String operator+ (const idep_String &left, const idep_String &right)
idep_String operator+ (const char *str, const idep_String &string)
idep_String operator+ (const idep_String &string, const char *str)
int operator== (const idep_String &left, const idep_String &right)
int operator!= (const idep_String &left, const idep_String &right)
int operator< (const idep_String &left, const idep_String &right)
int operator<= (const idep_String &left, const idep_String &right)
int operator> (const idep_String &left, const idep_String &right)
int operator>= (const idep_String &left, const idep_String &right)
int operator== (const char *str, const idep_String &string)
int operator!= (const char *str, const idep_String &string)
int operator< (const char *str, const idep_String &string)
int operator<= (const char *str, const idep_String &string)
int operator> (const char *str, const idep_String &string)
int operator>= (const char *str, const idep_String &string)
int operator== (const idep_String &string, const char *str)
int operator!= (const idep_String &string, const char *str)
int operator< (const idep_String &string, const char *str)
int operator<= (const idep_String &string, const char *str)
int operator> (const idep_String &string, const char *str)
int operator>= (const idep_String &string, const char *str)

Function Documentation

static char* init ( const char *  str  )  [static]

Definition at line 9 of file idep_string.cxx.

References size.

Referenced by Anp::StdHepTab::CreateArrows(), FarOverNearFit::FarOverNearFit(), FarOverNearFitPQ::FarOverNearFitPQ(), NuTransSME::GetXSecNeugen(), NuTransition::GetXSecNeugen(), MINFile::MINFile(), MINFScript::MINFScript(), Anp::SnarlTimeTab::NewSnarl(), idep_String::operator=(), REROOT_AvailNuclei::REROOT_AvailNuclei(), REROOT_BeamSystem::REROOT_BeamSystem(), REROOT_CellPos::REROOT_CellPos(), REROOT_CoilTube::REROOT_CoilTube(), REROOT_DigitPln::REROOT_DigitPln(), REROOT_EmuDigit::REROOT_EmuDigit(), REROOT_EmuHit::REROOT_EmuHit(), REROOT_EventHistory::REROOT_EventHistory(), REROOT_FLSDigiCell::REROOT_FLSDigiCell(), REROOT_FLSDigiPln::REROOT_FLSDigiPln(), REROOT_FLSDigit::REROOT_FLSDigit(), REROOT_FLSDigiView::REROOT_FLSDigiView(), REROOT_FLSHit::REROOT_FLSHit(), REROOT_FLSParam::REROOT_FLSParam(), REROOT_FluxInfo::REROOT_FluxInfo(), REROOT_FluxWgt::REROOT_FluxWgt(), REROOT_GAFKey::REROOT_GAFKey(), REROOT_GeomMisc::REROOT_GeomMisc(), REROOT_HitPln::REROOT_HitPln(), REROOT_LSTHit::REROOT_LSTHit(), REROOT_LSTProto::REROOT_LSTProto(), REROOT_LSTStrip::REROOT_LSTStrip(), REROOT_LSTWire::REROOT_LSTWire(), REROOT_MassDistrib::REROOT_MassDistrib(), REROOT_Material::REROOT_Material(), REROOT_MdlOrg::REROOT_MdlOrg(), REROOT_Mixture::REROOT_Mixture(), REROOT_MuonTrkHeader::REROOT_MuonTrkHeader(), REROOT_MuonTrkPoint::REROOT_MuonTrkPoint(), REROOT_NeuKin::REROOT_NeuKin(), REROOT_NeuVtx::REROOT_NeuVtx(), REROOT_PEArrival::REROOT_PEArrival(), REROOT_PlanePos::REROOT_PlanePos(), REROOT_PlaneSpec::REROOT_PlaneSpec(), REROOT_PlexusAdd::REROOT_PlexusAdd(), REROOT_Pln2MUX::REROOT_Pln2MUX(), REROOT_RecoMuon::REROOT_RecoMuon(), REROOT_RecoShwDir::REROOT_RecoShwDir(), REROOT_RecoShwEnergy::REROOT_RecoShwEnergy(), REROOT_RecoVtx::REROOT_RecoVtx(), REROOT_Rotm::REROOT_Rotm(), REROOT_RPCHit::REROOT_RPCHit(), REROOT_StdHep::REROOT_StdHep(), REROOT_StdHepHead::REROOT_StdHepHead(), REROOT_SubVolPos::REROOT_SubVolPos(), REROOT_SubVolSpec::REROOT_SubVolSpec(), REROOT_SuperModule::REROOT_SuperModule(), REROOT_TMedium::REROOT_TMedium(), REROOT_TPar::REROOT_TPar(), REROOT_TstHit::REROOT_TstHit(), REROOT_TubePixelInfo::REROOT_TubePixelInfo(), REROOT_TubePixelMap::REROOT_TubePixelMap(), NuHistSmoother::SmoothFit(), xsec_vs_energy::xsec_vs_energy(), Anp::StdHepTab::ZoomIn(), Anp::EventHitTab::ZoomIn(), and Anp::EventAdcTab::ZoomIn().

00010 {
00011     int size = strlen(str) + 1;
00012     char *string = new char[size];
00013     memcpy(string, str, size);
00014     return string;
00015 }

int operator!= ( const idep_String string,
const char *  str 
)

Definition at line 169 of file idep_string.cxx.

00170 {
00171     return strcmp(string, str) != 0;
00172 }

int operator!= ( const char *  str,
const idep_String string 
)

Definition at line 138 of file idep_string.cxx.

00139 {
00140     return strcmp(str, string) != 0;
00141 }

int operator!= ( const idep_String left,
const idep_String right 
)

Definition at line 107 of file idep_string.cxx.

00108 {
00109     return strcmp(left, right) != 0;
00110 }

idep_String operator+ ( const idep_String string,
const char *  str 
)

Definition at line 97 of file idep_string.cxx.

00098 {
00099     return idep_String(string) += str;
00100 }

idep_String operator+ ( const char *  str,
const idep_String string 
)

Definition at line 92 of file idep_string.cxx.

00093 {
00094     return idep_String(str) += string;
00095 }

idep_String operator+ ( const idep_String left,
const idep_String right 
)

Definition at line 87 of file idep_string.cxx.

00088 {
00089     return idep_String(left) += right;
00090 }

int operator< ( const idep_String string,
const char *  str 
)

Definition at line 174 of file idep_string.cxx.

00175 {
00176     return strcmp(string, str) <  0;
00177 }

int operator< ( const char *  str,
const idep_String string 
)

Definition at line 143 of file idep_string.cxx.

00144 {
00145     return strcmp(str, string) <  0;
00146 }

int operator< ( const idep_String left,
const idep_String right 
)

Definition at line 112 of file idep_string.cxx.

00113 {
00114     return strcmp(left, right) <  0;
00115 }

int operator<= ( const idep_String string,
const char *  str 
)

Definition at line 179 of file idep_string.cxx.

00180 {
00181     return strcmp(string, str) <= 0;
00182 }

int operator<= ( const char *  str,
const idep_String string 
)

Definition at line 148 of file idep_string.cxx.

00149 {
00150     return strcmp(str, string) <= 0;
00151 }

int operator<= ( const idep_String left,
const idep_String right 
)

Definition at line 117 of file idep_string.cxx.

00118 {
00119     return strcmp(left, right) <= 0;
00120 }

int operator== ( const idep_String string,
const char *  str 
)

Definition at line 164 of file idep_string.cxx.

00165 {
00166     return strcmp(str, string) == 0;
00167 }

int operator== ( const char *  str,
const idep_String string 
)

Definition at line 133 of file idep_string.cxx.

00134 {
00135     return strcmp(str, string) == 0;
00136 }

int operator== ( const idep_String left,
const idep_String right 
)

Definition at line 102 of file idep_string.cxx.

00103 {
00104     return strcmp(left, right) == 0;
00105 }

int operator> ( const idep_String string,
const char *  str 
)

Definition at line 184 of file idep_string.cxx.

00185 {
00186     return strcmp(string, str) >  0;
00187 }

int operator> ( const char *  str,
const idep_String string 
)

Definition at line 153 of file idep_string.cxx.

00154 {
00155     return strcmp(str, string) >  0;
00156 }

int operator> ( const idep_String left,
const idep_String right 
)

Definition at line 122 of file idep_string.cxx.

00123 {
00124     return strcmp(left, right) >  0;
00125 }

int operator>= ( const idep_String string,
const char *  str 
)

Definition at line 189 of file idep_string.cxx.

00190 {
00191     return strcmp(string, str) >= 0;
00192 }

int operator>= ( const char *  str,
const idep_String string 
)

Definition at line 158 of file idep_string.cxx.

00159 {
00160     return strcmp(str, string) >= 0;
00161 }

int operator>= ( const idep_String left,
const idep_String right 
)

Definition at line 127 of file idep_string.cxx.

00128 {
00129     return strcmp(left, right) >= 0;
00130 }


Generated on 16 Apr 2018 for loon by  doxygen 1.6.1