c4d_basetime.h File Reference

Classes

class   BaseTime

函数

const BaseTime   operator* (const BaseTime &t1, const BaseTime &t2)
const BaseTime   operator/ (const BaseTime &t1, const BaseTime &t2)
const BaseTime   operator+ (const BaseTime &t1, const BaseTime &t2)
const BaseTime   operator- (const BaseTime &t1, const BaseTime &t2)
Bool   operator== (const BaseTime &t1, const BaseTime &t2)
Bool   operator< (const BaseTime &t1, const BaseTime &t2)
Bool   operator!= (const BaseTime &t1, const BaseTime &t2)
Bool   operator<= (const BaseTime &t1, const BaseTime &t2)
Bool   operator>= (const BaseTime &t1, const BaseTime &t2)
Bool   operator> (const BaseTime &t1, const BaseTime &t2)

Function Documentation

◆  operator*()

const BaseTime operator* ( const BaseTime t1 ,
const BaseTime t2  
)

Multiplies t1 and t2 .

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the multiplication.

◆  operator/()

const BaseTime operator/ ( const BaseTime t1 ,
const BaseTime t2  
)

Divides t1 and t2 .

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the division.

◆  operator+()

const BaseTime operator+ ( const BaseTime t1 ,
const BaseTime t2  
)

Adds t1 and t2 .

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the addition.

◆  operator-()

const BaseTime operator- ( const BaseTime t1 ,
const BaseTime t2  
)

Subtracts t1 and t2 .

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the subtraction.

◆  operator==()

Bool operator== ( const BaseTime t1 ,
const BaseTime t2  
)

Equality operator. Checks if t1 and t2 are equal.

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the comparison.

◆  operator<()

Bool operator< ( const BaseTime t1 ,
const BaseTime t2  
)

Less than operator. Checks if t1 is less than t2 .

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the comparison.

◆  operator!=()

Bool operator!= ( const BaseTime t1 ,
const BaseTime t2  
)

Inequality operator. Checks if t1 and t2 are not equal.

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the comparison.

◆  operator<=()

Bool operator<= ( const BaseTime t1 ,
const BaseTime t2  
)

Less than or equal operator. Checks if t1 is less than or equal to t2 .

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the comparison.

◆  operator>=()

Bool operator>= ( const BaseTime t1 ,
const BaseTime t2  
)

Greater than or equal operator. Checks if t1 is greater than or equal to t2 .

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the comparison.

◆  operator>()

Bool operator> ( const BaseTime t1 ,
const BaseTime t2  
)

Greater than operator. Checks if t1 大于 t2 .

参数
[in] t1 Left-operand time.
[in] t2 Right-operand time.
返回
Result of the comparison.