ROOT  6.06/09
Reference Guide
Functions | Variables
TBase64.cxx File Reference
#include "TBase64.h"
+ Include dependency graph for TBase64.cxx:

Go to the source code of this file.

Functions

 ClassImp (TBase64) static int ToB64low(const char *in
 Base64 encoding of 3 bytes from in. More...
 
 if (!in||!out) return-1
 
 if (mod==1)
 
static int FromB64low (const char *in, TString &out)
 Base64 decoding of 4 bytes from in. More...
 

Variables

char * out = b64ref[ 0x3F & ((0x30 & (in[0] << 4)) | (0x0F & (in[1] >> 4))) ]
 
char int static mod char b64ref [64]
 
 else
 
 return
 

Function Documentation

ClassImp ( TBase64  ) const

Base64 encoding of 3 bytes from in.

Output (4 bytes) saved in out (not null terminated). Returns 0 on success, -1 if input or output arrays are not defined.

static int FromB64low ( const char *  in,
TString out 
)
static

Base64 decoding of 4 bytes from in.

Output (3 bytes) returned in out. No check for base64-ness of input characters.

Definition at line 70 of file TBase64.cxx.

Referenced by TBase64::Decode().

if ( !in||!  out)
else if ( mod  = = 1)

Definition at line 45 of file TBase64.cxx.

Variable Documentation

char int static mod char b64ref[64]
static
Initial value:
= {
'A','B','C','D','E','F','G','H','I','J',
'K','L','M','N','O','P','Q','R','S','T',
'U','V','W','X','Y','Z',
'a','b','c','d','e','f','g','h','i','j',
'k','l','m','n','o','p','q','r','s','t',
'u','v','w','x','y','z',
'0','1','2','3','4','5','6','7','8','9',
'+','/'
}

Definition at line 31 of file TBase64.cxx.

else
Initial value:
{
*out++ = b64ref[ (int)(0x3F & (in[0] >> 2)) ]
char int static mod char b64ref[64]
Definition: TBase64.cxx:31
char * out
Definition: TBase64.cxx:29

Definition at line 55 of file TBase64.cxx.

* out = b64ref[ 0x3F & ((0x30 & (in[0] << 4)) | (0x0F & (in[1] >> 4))) ]

Definition at line 29 of file TBase64.cxx.

Referenced by TGraphSmooth::BDRsmooth(), TKSocket::BlockRead(), TGuiBldDragManager::CheckTargetAtPoint(), TPostScript::Close(), TSystem::CompileMacro(), TLimit::ComputeLimit(), TDocOutput::Convert(), TASImage::CopyArea(), TTreeCloner::CopyProcessIds(), TDocOutput::CreateHierarchy(), TClassDocOutput::CreateHierarchyDot(), TDocOutput::CreateModuleIndex(), TDocOutput::CreateProductIndex(), TClassDocOutput::CreateSourceOutputStream(), TMath::Cross(), TDavixFile::DavixReadBuffers(), TClingMethodArgInfo::DefaultValue(), TH3::DoProject2D(), TMultiLayerPerceptron::DrawResult(), TGLScene::TSceneInfo::DumpDrawStats(), TMultiLayerPerceptron::Evaluate(), EvaluateExpr(), TSystem::ExpandFileName(), TGeoElementTable::ExportElementsRN(), XrdProofdClient::ExportSessions(), XrdROOTMgr::ExportVersions(), TProofPlayerRemote::Finalize(), TQueryResultManager::FinalizeQuery(), TOutputListSelectorDataMap::FindInList(), ROOT::Math::format(), TSystem::GetFromPipe(), TMVA::Results::GetHist(), TMVA::Results::GetHist2D(), TSelectorCint::GetOutputList(), handle_cgi_request(), TProof::HandleInputMessage(), TRootBrowserLite::IconBoxAction(), initTest(), ROOT::Minuit2::LASymMatrix::LASymMatrix(), main(), TPrincipal::MakeRealCode(), TMultiDimFit::MakeRealCode(), TGuiBldDragManager::Menu4Frame(), modadd(), TProof::ModifyWorkerLists(), TSVG::Open(), TTeXDump::Open(), TPDF::Open(), TPostScript::Open(), operator<<(), ROOT::Minuit2::LASymMatrix::operator=(), TGeoManager::OptimizeVoxels(), TFileInfo::Print(), RooFactoryWSTool::process(), TGuiBldDragManager::RecognizeGesture(), TMultiLayerPerceptron::Result(), TFoam::RootPlot2dim(), TMVA::PDEFoam::RootPlot2dim(), TGuiBldDragManager::Save(), TObject::SaveAs(), TGeoVolume::SaveAs(), TSpline3::SaveAs(), TSpline5::SaveAs(), TGeoManager::SaveAttributes(), TXMLEngine::SaveDoc(), TGuiBldDragManager::SaveFrame(), TVolumePosition::SavePrimitive(), TXMLEngine::SaveSingleNode(), TMacro::SaveSource(), TCanvas::SaveSource(), TTreeViewer::SaveSource(), TStyle::SaveSource(), TGMainFrame::SaveSource(), TGTransientFrame::SaveSource(), TEveManager::SaveVizDB(), TTreePlayer::Scan(), scatterArray(), scatterStruct(), scatterStruct2(), TMVA::Timer::SecToText(), TProofPlayerLite::StoreFeedback(), TProofPlayerRemote::StoreFeedback(), TProofPlayerRemote::StoreOutput(), TMultiLayerPerceptron::Train(), TProofMgr::UploadFiles(), usage(), TPDF::WriteCompressedBuffer(), and ROOT::Internal::TTreeReaderGenerator::WriteSelector().

return

Definition at line 62 of file TBase64.cxx.

Referenced by RooDataHist::add(), RooLinkedList::Add(), RooNumRunningInt::RICacheElem::addRange(), RooCurve::addRange(), RooCategory::addToRange(), RooAbsStudy::aggregateSummaryOutput(), RooAbsCollection::assignFast(), RooCompositeDataStore::attachBuffers(), RooCompositeDataStore::attachCache(), RooVectorDataStore::attachCache(), RooAbsCategory::attachToTree(), RooAbsReal::attachToTree(), RooDataHist::calculatePartialBinVolume(), RooAbsArg::changeServer(), ClassImp(), RooAbsReal::clearEvalErrorLog(), RooCategory::clearRange(), RooAbsOptTestStatistic::constOptimizeTestStatistic(), TMVA::DecisionTree::DescendTree(), do_put(), TClonesArray::ExpandCreate(), RooStudyManager::expandWildCardSpec(), RooWorkspace::exportObj(), RooWorkspace::exportToCint(), Roo1DTable::fill(), RooFFTConvPdf::fillCacheObject(), RooFitResult::fillCorrMatrix(), RooFitResult::fillLegacyCorrMatrix(), RooObjCacheManager::findConstantNodes(), RooAddPdf::fixCoefNormalization(), RooAddModel::fixCoefNormalization(), RooUniform::generateEvent(), RooSimGenContext::generateEvent(), RooConvGenContext::generateEvent(), RooAddGenContext::generateEvent(), RooGaussModel::generateEvent(), RooGExpModel::generateEvent(), RooProdPdf::generateEvent(), RooAddModel::getCompIntList(), TCling::GetInterpreterTypeName(), TClass::GetMissingDictionariesForMembers(), RooProdPdf::getParametersHook(), RooAbsArg::graphVizTree(), RooProdPdf::initGenerator(), RooRealMPFE::initialize(), RooSimultaneous::initialize(), RooDataHist::initialize(), RooPlot::DrawOpt::initialize(), RooAbsTestStatistic::initMPMode(), RooAbsOptTestStatistic::initSlave(), KeepNParams(), RooAbsReal::logEvalError(), TMVA::MethodBDT::MakeClassInstantiateNode(), RooAbsReal::makeProjectionSet(), RooObjCacheManager::operModeHook(), RooAbsArg::optimizeCacheMode(), RooAbsOptTestStatistic::optimizeConstantTerms(), TGraphPolargram::PaintPolarDivisions(), TGraphPolargram::PaintRadialDivisions(), RooAbsReal::plotOnCompSelect(), TUri::Print(), RooWorkspace::Print(), RooAbsArg::printArgs(), RooAbsOptTestStatistic::printCompactTreeHook(), RooAbsArg::printComponentTree(), RooAbsReal::printEvalErrors(), RooAbsCollection::printLatex(), RooCustomizer::printMultiline(), RooPrintable::printStream(), RooStudyPackage::processFile(), qpsrt(), RooProdPdf::rearrangeProduct(), RooVectorDataStore::recalculateCache(), RooAbsArg::registerProxy(), RooAbsStudy::registerSummaryOutput(), RooPlot::remove(), RooCustomizer::replaceArg(), RooCompositeDataStore::resetBuffers(), RooCompositeDataStore::resetCache(), RooVectorDataStore::resetCache(), RooTreeDataStore::resetCache(), RooRealBinding::restoreXVec(), RooAbsGenContext::RooAbsGenContext(), RooAbsOptTestStatistic::RooAbsOptTestStatistic(), RooDataHist::RooDataHist(), RooDataSet::RooDataSet(), RooFormula::RooFormula(), RooHist::RooHist(), RooMCStudy::RooMCStudy(), RooSimGenContext::RooSimGenContext(), RooSimSplitGenContext::RooSimSplitGenContext(), RooSimultaneous::RooSimultaneous(), RooStudyManager::runProof(), RooRandomizeParamMCSModule::sampleGaussian(), RooRandomizeParamMCSModule::sampleUniform(), RooAddModel::selectNormalization(), RooAddPdf::selectNormalization(), RooProdPdf::selectNormalizationRange(), RooAddModel::selectNormalizationRange(), RooAddPdf::selectNormalizationRange(), RooCompositeDataStore::setArgStatus(), RooVectorDataStore::setArgStatus(), RooAbsCategoryLValue::setBin(), RooAbsRealLValue::setBin(), RooMultiVarGaussian::BitBlock::setBit(), RooFFTConvPdf::setBufferFraction(), RooNumConvolution::setCallWarning(), RooStats::ModelConfig::SetConditionalObservables(), RooStats::ModelConfig::SetConstraintParameters(), RooNumIntConfig::setEpsAbs(), RooNumIntConfig::setEpsRel(), RooStats::ModelConfig::SetGlobalObservables(), RooLinkedList::setHashTableSize(), RooStats::ModelConfig::SetNuisanceParameters(), RooStats::ModelConfig::SetObservables(), RooAbsArg::setOperMode(), RooStats::ModelConfig::SetParameters(), RooStats::ModelConfig::SetParametersOfInterest(), TMVA::DecisionTree::SetParentTreeInNodes(), RooUniformBinning::setRange(), RooParamBinning::setRange(), RooRangeBinning::setRange(), RooAbsArg::setShapeDirty(), RooMsgService::setStreamStatus(), TMVA::BinaryTree::SetTotalTreeDepth(), RooAbsPdf::setTraceCounter(), RooLinearVar::setVal(), RooAbsArg::setValueDirty(), TClassEdit::TSplitType::ShortType(), RooCustomizer::splitArg(), RooCustomizer::splitArgs(), RooAbsStudy::storeSummaryOutput(), RooCmdConfig::stripCmdList(), TGraphErrors::TGraphErrors(), RooAddModel::updateCoefficients(), RooAddPdf::updateCoefficients(), RooPlot::updateFitRangeNorm(), RooSimGenContext::updateFractions(), RooTreeDataStore::weightError(), RooVectorDataStore::weightError(), RooDataHist::weightError(), RooArgSet::writeToFile(), RooArgList::writeToStream(), and RooArgSet::writeToStream().