Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

BdbTimeInput Class Reference

#include <BdbTimeInput.hh>

List of all members.

Public Types

enum  Status { Success = 0, NoMatch = 7, BadValue = 8 }

Static Public Member Functions

BdbTimeInput::Status parseTime (const char *string, struct tm &result)
BdbTimeInput::Status parseDate (const char *string, struct tm &result)
BdbTimeInput::Status parseString (const char *string, const char *const formats[], struct tm &result, bool debug)
void setDebugging (bool debug)


Detailed Description

This is a helper class used in the implementation of BdbTime. It is not intended to be supported as a public interface.

This software was developed for the BaBar collaboration. If you use all or part of it, please give an appropriate acknowledgement.

Copyright (C) 2003 California Institute of Technology

Version:
Id
BdbTimeInput.hh,v 1.1 2003/02/26 09:18:48 gpdf Exp
Author:
Gregory Dubois-Felsmann (originator)

Definition at line 53 of file BdbTimeInput.hh.


Member Enumeration Documentation

enum BdbTimeInput::Status
 

Enumeration values:
Success 
NoMatch 
BadValue 

Definition at line 64 of file BdbTimeInput.hh.

Referenced by main(), parseString(), and BdbTime::parseTime().


Member Function Documentation

BdbTimeInput::Status BdbTimeInput::parseDate const char *    string,
struct tm &    result
[static]
 

Definition at line 96 of file BdbTimeInput.cc.

References parseString().

Referenced by main(), and BdbTime::parseTime().

BdbTimeInput::Status BdbTimeInput::parseString const char *    string,
const char *const    formats[],
struct tm &    result,
bool    debug
[static]
 

Definition at line 104 of file BdbTimeInput.cc.

References NoMatch, Status, and Success.

Referenced by main(), parseDate(), and parseTime().

BdbTimeInput::Status BdbTimeInput::parseTime const char *    string,
struct tm &    result
[static]
 

Definition at line 88 of file BdbTimeInput.cc.

References parseString().

Referenced by main(), and BdbTime::parseTime().

void BdbTimeInput::setDebugging bool    debug [static]
 

Definition at line 153 of file BdbTimeInput.cc.

Referenced by main().


The documentation for this class was generated from the following files:
Generated on Mon Dec 5 18:22:17 2005 for CDB by doxygen1.3-rc3