The following table contains a partial set of the FC++ API. Not all classes and methods are listed here. For the complete list, please refer to the fc namespace.
Mapping of fccl command-line parameters to C++ API calls:
Several other useful or relevant C++ API calls with no directly corresponding parameters in fccl:
Several functions are available for convenience to format some numerical FC++ statistic values (such as times, file sizes, bandwidth transfer rates) to easy-to-read text strings:
| FC++ API | Example |
|---|---|
| fc::formatBytesIEC() | "12.45 MiB" |
| fc::formatBytesSI() | "13.05 MB" |
| fc::formatBytesOldStyle() | "12.45 MB" |
| fc::formatTimeDuration() | "45s" |
| fc::formatTimeDuration2() | "0:45" |
| fc::formatTimeRecent() | "in 45 seconds" |
| fc::formatTimestamp() | "2014-09-17 08:53:16" |
| fc::formatTimestamp2() | "2014-09-17 08:53:16.073211" |
| fc::formatTransferRate() | "125.80 Kbps" |
| fc::formatTransferStatsEState() | (mostly for debug use) |