CellValue
CellValue
Overview
CellValue 是 C++ 的 FOSS 中的 Aspose.Cells 类.
这个类提供了19种方法,用于在C++程序中与CellValue对象工作. 有的方法包括: AsBool, AsDateTime, AsDouble, AsInteger, AsString, CellValue, IsBool, IsDateTime, IsDouble, IsEmpty, IsInteger, IsString. 在安装了Aspose.Cells FOSS for C++ 包后,所有公众成员都可以访问任何C ++应用程序.
Methods
| Signature | Description |
|---|---|
CellValue() | 在这个 CellValue 实例中调用CellValue. |
CellValue(v: int) | |
CellValue(v: double) | |
CellValue(v: bool) | |
CellValue(v: char) | |
CellValue(v: std::string) | |
CellValue(v: std::string_view) | |
CellValue(v: DateTime) | |
IsEmpty() → bool | 如果设置为空,则返回true. |
IsInteger() → bool | 如果设置整数,则返回true. |
IsDouble() → bool | 如果设置了双,则返回true. |
IsBool() → bool | 如果设置了 bool,则返回 true. |
IsString() → bool | 如果设置了字符串,则返回true. |
IsDateTime() → bool | 如果设置了日期时间,则返回true. |
AsDouble() → double | 在这个 CellValue 实例中调用AsDouble. |
AsInteger() → int | 在这个 CellValue 实例中调用AsInteger. |
AsBool() → bool | 在这个 CellValue 实例中调用AsBool. |
AsString() → std::string | 在这个 CellValue 实例中调用AsString. |
AsDateTime() → DateTime | 在这个 CellValue 实例中调用AsDateTime. |