NDEVR
API Documentation
FileCache.h
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/StringStream.h>
4#include <NDEVR/Time.h>
5namespace NDEVR
6{
17
22 {
23 uint08 file_size = Constant<uint08>::Invalid;
24 Time modified_time = Constant<Time>::Invalid;
25 Time accessed_time = Constant<Time>::Invalid;
26 Time created_time = Constant<Time>::Invalid;
28 };
29 template class NDEVR_BASE_API StringStream<FileCachedData>;
30}
A bitset that stores 8 bits (elements with only two possible values: 0 or 1, true or false,...
Definition BitFlag.hpp:55
Logic for reading or writing to a string or a user friendly, TranslatedString.
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:62
The primary namespace for the NDEVR SDK.
@ BitFlag
Per-vertex bit flags (selected, hidden, etc.).
uint64_t uint08
-Defines an alias representing an 8 byte, unsigned integer
FileProperty
Booleans that can be used to define properties of a file.
Definition FileCache.h:11
@ e_file_is_directory
Whether the path refers to a directory rather than a file.
Definition FileCache.h:15
@ e_file_is_hidden
Whether the file is marked as hidden by the filesystem.
Definition FileCache.h:14
@ e_file_exists
Whether the file exists on disk.
Definition FileCache.h:13
@ e_file_cache_is_valid
Whether the cached file data is valid and up-to-date.
Definition FileCache.h:12
Data that is cached from a file into program memory to limit expensive file lookups.
Definition FileCache.h:22
Time accessed_time
The last access time of the file, or Invalid if not yet cached.
Definition FileCache.h:25
BitFlag file_properties
Bit flags storing FileProperty values describing the file.
Definition FileCache.h:27
Time created_time
The creation time of the file, or Invalid if not yet cached.
Definition FileCache.h:26
uint08 file_size
The size of the file in bytes, or Invalid if not yet cached.
Definition FileCache.h:23
Time modified_time
The last modification time of the file, or Invalid if not yet cached.
Definition FileCache.h:24