We are sorry, but NCBI web applications do not support your browser and may not function properly. More information

    C++ Toolkit Book -- Total 8 records found. Showing the first 3 here.

    1.

    State, Events, and Flow of Control

    State, Events, and Flow of Control Generally, your connection handler class should follow a state model and implement the GetEventsToPollFor() method, which will use the state to select the events that will be handled. This is typically how the connection state is propagated and how socket events result in the flow of control being passed to the events handlers. Note: You don't need to implement a state model or the...

    2.

    The Date: Date-std and Date

    The Date: Date-std and Date ASN.1 has primitive types for recording dates, but they model a precise timestamp down to the minute, second, or even fraction of a second. For scientific and bibliographic data, it is common that only the date, or even just a portion of the date (e.g. month and year) is available - for example in a publication date. Rather than use artificial zero values for the...

    3.

    Other CTime Methods

    Other CTime Methods Once the CTime object is constructed, it can be accessed using the SetTimeT() and GetTimeT() methods. The SetTimeT() method is used to set the CTime with the timestamp passed by the time_t parameter. The GetTimeT() method returns the time stored in the CTime object as a time_t value. The time_t value measures seconds since January 1, 1900; therefore, do not use these methods if the timestamp is...

    Toolkit -- Total 341 records found. Showing the first 4 here.

    1.
    2.

    CTime::CTime

    Constructor.
    CTime::CTime (EInitMode mode=eEmpty, ETimeZone tz=eLocal, ETimeZonePrecision tzp=eTZPrecisionDefault) [public method]
    3.

    CTime::CTime

    Copy constructor.
    CTime::CTime (const CTime &t) [public method]
    4.

    CTime::CTime

    Explicit conversion constructor for string representation of time.
    CTime::CTime (const string &str, const CTimeFormat &fmt=kEmptyStr, ETimeZone tz=eLocal, ETimeZonePrecision tzp=eTZPrecisionDefault) [public explicit method]