aflibdatetime.3
来自「一个共享源码的音频库5(doc 文档)」· 3 代码 · 共 200 行
3
200 行
.TH "aflibDateTime" 3 "8 May 2002" "Open Source Audio Library Project" \" -*- nroff -*-.ad l.nh.SH NAMEaflibDateTime \- Date Time class. .SH SYNOPSIS.br.PP\fC#include <aflibDateTime.h>\fP.PP.SS "Public Methods".in +1c.ti -1c.RI "\fBaflibDateTime\fP ()".br.RI "\fIConstructor with no parameters.\fP".ti -1c.RI "\fBaflibDateTime\fP (int year, int month, int day, int hour, int minute, int second)".br.RI "\fIConstructor with parameters as integer values.\fP".ti -1c.RI "\fBaflibDateTime\fP (string date, string time)".br.RI "\fIConstructor with parameters as strings.\fP".ti -1c.RI "\fB~aflibDateTime\fP ()".br.RI "\fIDestructor.\fP".ti -1c.RI "bool \fBoperator<\fP (const aflibDateTime &date) const".br.RI "\fIComparision operator.\fP".ti -1c.RI "bool \fBoperator<=\fP (const aflibDateTime &date) const".br.ti -1c.RI "bool \fBoperator==\fP (const aflibDateTime &date) const".br.ti -1c.RI "void \fBsetYear\fP (int year)".br.RI "\fISets the year.\fP".ti -1c.RI "int \fBgetYear\fP () const".br.RI "\fIGets the year.\fP".ti -1c.RI "void \fBsetMonth\fP (int month)".br.RI "\fISets the month.\fP".ti -1c.RI "int \fBgetMonth\fP () const".br.RI "\fIGets the month.\fP".ti -1c.RI "void \fBsetDay\fP (int day)".br.RI "\fISets the day.\fP".ti -1c.RI "int \fBgetDay\fP () const".br.RI "\fIGets the day.\fP".ti -1c.RI "void \fBsetHour\fP (int hour)".br.RI "\fISets the hour.\fP".ti -1c.RI "int \fBgetHour\fP () const".br.RI "\fIGets the hour.\fP".ti -1c.RI "void \fBsetMinute\fP (int minute)".br.RI "\fISets the minute.\fP".ti -1c.RI "int \fBgetMinute\fP () const".br.RI "\fIGets the minute.\fP".ti -1c.RI "void \fBsetSecond\fP (int second)".br.RI "\fISets the second.\fP".ti -1c.RI "int \fBgetSecond\fP () const".br.RI "\fIGets the second.\fP".ti -1c.RI "void \fBsetCurrentTime\fP ()".br.RI "\fISets the date and time to the current date and time.\fP".in -1c.SS "Friends".in +1c.ti -1c.RI "ostream & \fBoperator<<\fP (ostream &o, const aflibDateTime &date)".br.RI "\fIOutputs data and time to a stream.\fP".in -1c.SH "DETAILED DESCRIPTION".PP Date Time class..PPThis class simply holds a date and time. It can be used by other classes such as the \fBaflibAudioRecorder\fP class that requires a date and time. It provides for storing a date and time, printing a date and time, and comparing two dates and times. .PP.SH "CONSTRUCTOR & DESTRUCTOR DOCUMENTATION".PP .SS "aflibDateTime::aflibDateTime ()".PPConstructor with no parameters..PP.SS "aflibDateTime::aflibDateTime (int year, int month, int day, int hour, int minute, int second)".PPConstructor with parameters as integer values..PP.SS "aflibDateTime::aflibDateTime (string date, string time)".PPConstructor with parameters as strings..PPThis constructor takes a date and a time as a string. The date must be in the format MM/DD/YYYY. The time must be in the format HH:MM:SS. .SS "aflibDateTime::~aflibDateTime ()".PPDestructor..PP.SH "MEMBER FUNCTION DOCUMENTATION".PP .SS "int aflibDateTime::getDay () const".PPGets the day..PP.SS "int aflibDateTime::getHour () const".PPGets the hour..PP.SS "int aflibDateTime::getMinute () const".PPGets the minute..PP.SS "int aflibDateTime::getMonth () const".PPGets the month..PP.SS "int aflibDateTime::getSecond () const".PPGets the second..PP.SS "int aflibDateTime::getYear () const".PPGets the year..PP.SS "bool aflibDateTime::operator< (const aflibDateTime & date) const".PPComparision operator..PPThis operator will determine if one date and time is less than another date and time. .SS "bool aflibDateTime::operator<= (const aflibDateTime & date) const".PP.SS "bool aflibDateTime::operator== (const aflibDateTime & date) const".PP.SS "void aflibDateTime::setCurrentTime ()".PPSets the date and time to the current date and time..PP.SS "void aflibDateTime::setDay (int day)".PPSets the day..PP.SS "void aflibDateTime::setHour (int hour)".PPSets the hour..PP.SS "void aflibDateTime::setMinute (int minute)".PPSets the minute..PP.SS "void aflibDateTime::setMonth (int month)".PPSets the month..PP.SS "void aflibDateTime::setSecond (int second)".PPSets the second..PP.SS "void aflibDateTime::setYear (int year)".PPSets the year..PP.SH "FRIENDS AND RELATED FUNCTION DOCUMENTATION".PP .SS "ostream& operator<< (ostream & o, const aflibDateTime & date)\fC [friend]\fP".PPOutputs data and time to a stream..PPThis will output the date and time to a stream in the format MM/DD/YYYY and HH:MM:SS. .SH "AUTHOR".PP Generated automatically by Doxygen for Open Source Audio Library Project from the source code.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?