|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
The TimeMetadata class is a smart pointer. It represents a piece of time Metadata, i.e., a 32-bit integer to be interpreted as time_t.
◆ TimeMetadata() [1/4]
HPS.TimeMetadata.TimeMetadata |
( |
| ) |
|
|
inline |
The default constructor creates an uninitialized TimeMetadata object. The Type() function will return Type.None.
◆ TimeMetadata() [2/4]
This constructor creates a TimeMetadata object that shares the underlying smart-pointer of the source Metadata. The copy will only be successful if the source component is really an upcast of a TimeMetadata object. Otherwise the copy will fail and the resulting TimeMetadata will be invalid.
- Parameters
-
◆ TimeMetadata() [3/4]
The copy constructor creates a TimeMetadata object that shares the underlying smart-pointer of the source TimeMetadata.
- Parameters
-
◆ TimeMetadata() [4/4]
HPS.TimeMetadata.TimeMetadata |
( |
string |
in_name, |
|
|
uint |
in_value |
|
) |
| |
|
inline |
This constructor creates a TimeMetadata with a given name and value.
- Parameters
-
in_name | The UTF8-encoded name for this TimeMetadata. |
in_value | The unsigned integer value (interpreted like time_t) for this TimeMetadata. |
◆ GetValue()
uint HPS.TimeMetadata.GetValue |
( |
| ) |
|
|
inline |
◆ GetValueAsString()
string HPS.TimeMetadata.GetValueAsString |
( |
| ) |
|
|
inline |
Gets the string represenation of the time value as returned by asctime() for this TimeMetadata.
- Returns
- The string representation of the time value as returned by asctime() for this TimeMetadata.
◆ ObjectType()
override HPS.Type HPS.TimeMetadata.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Metadata.
◆ SetValue()
void HPS.TimeMetadata.SetValue |
( |
uint |
in_value | ) |
|
|
inline |
Sets the unsigned integer value (interpreted like time_t) for this TimeMetadata.
- Parameters
-
in_value | The unsigned integer value (interpreted like time_t) for this TimeMetadata. |
The documentation for this class was generated from the following file:
- internals/hps_sprk/source/cs/HPS.TimeMetadata.cs