giga::core::FileNodeData Class Referencefinal
#include <FileNode.h>
Public Types | |
enum | PreviewState { noPreview = 0, previewNoIcon = 4, preview = 7, computing = 8, error = 16 } |
Public Member Functions | |
FileNodeData (FileNodeData &&)=default | |
FileNodeData & | operator= (FileNodeData &&)=default |
FileNodeData (const FileNodeData &)=default | |
FileNodeData & | operator= (const FileNodeData &)=default |
const utility::string_t & | mimeType () const |
const std::string & | fid () const |
PreviewState | previewState () const |
web::uri | iconUrl () const |
An url to a 48x48 image. More... | |
web::uri | squareUrl () const |
An url to a 185x185 image. More... | |
web::uri | originalUrl () const |
An url to a small none cropped image (max size is 185x278) More... | |
web::uri | posterUrl () const |
An url to a 185x278 image. More... | |
web::uri | fileUrl () const |
Friends | |
class | FileNode |
Detailed Description
Store the data specific to FileNode (ie: not found in FolderNode)
Member Function Documentation
uri giga::core::FileNodeData::fileUrl | ( | ) | const |
- Returns
- The download url for this file.
uri giga::core::FileNodeData::iconUrl | ( | ) | const |
An url to a 48x48 image.
If this icon is not set (see previewState()
) then we fall back to a generic icon (48x48)
uri giga::core::FileNodeData::originalUrl | ( | ) | const |
An url to a small none cropped image (max size is 185x278)
If this icon is not set (see previewState()
) then we fall back to a generic icon (255x255)
uri giga::core::FileNodeData::posterUrl | ( | ) | const |
An url to a 185x278 image.
If this icon is not set (see previewState()
) then we fall back to a generic icon (255x255)
uri giga::core::FileNodeData::squareUrl | ( | ) | const |
An url to a 185x185 image.
If this icon is not set (see previewState()
) then we fall back to a generic icon (255x255)
The documentation for this class was generated from the following files:
- /home/thomas/code/GiGaSdk/src/giga/core/FileNode.h
- /home/thomas/code/GiGaSdk/src/giga/core/FileNode.cpp