Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Attributes | List of all members
AbcFileList Class Reference
Inheritance diagram for AbcFileList:
SysFileList

Public Member Functions

 AbcFileList (const CoreBasicArray< CoreString > &split_files)
 
 AbcFileList (const CoreString &joined_files)
 
void set_extensions (const CoreBasicArray< CoreString > &extensions)=delete
 
void clear_extensions ()=delete
 
std::vector< std::string > get_as_reversed_vector () const
 
void clear () override
 
- Public Member Functions inherited from SysFileList
 SysFileList ()
 Default constructor.
 
 SysFileList (const CoreBasicArray< CoreString > &split_files, const CoreBasicArray< CoreString > &extensions=CoreBasicArray< CoreString >(nullptr, 0))
 
 SysFileList (const CoreString &joined_files, const CoreBasicArray< CoreString > &extensions=CoreBasicArray< CoreString >(nullptr, 0))
 
 SysFileList (const SysFileList &other)
 Copy constructor.
 
 SysFileList (SysFileList &&other) noexcept
 Move constructor.
 
virtual ~SysFileList ()=default
 Destructor.
 
SysFileListoperator= (const SysFileList &other)
 Assignment operator.
 
SysFileListoperator= (SysFileList &&other) noexcept
 Move assignment operator.
 
bool operator== (const SysFileList &other) const
 
bool operator!= (const SysFileList &other) const
 
void set_files (const CoreBasicArray< CoreString > &split_files)
 
void set_files (const CoreString &joined_files)
 
const CoreVector< CoreString > & get_files () const
 
CoreString to_string () const
 
void set_extensions (const CoreBasicArray< CoreString > &extensions)
 
const CoreVector< CoreString > & get_extensions () const
 
unsigned int get_count () const
 
bool is_empty () const
 
const CoreStringget_first () const
 
void clear_files ()
 
void clear_extensions ()
 
bool all_extensions_valid () const
 
bool all_files_exist () const
 
bool is_valid () const
 
Timestamps get_modification_times () const
 
bool modification_times_equal_to (const Timestamps &other_timestamps) const
 
CoreString get_errors (char separator= ';') const
 
virtual size_t get_memory_size () const
 

Static Public Attributes

static const CoreArray
< CoreString
extension {"abc"}
 Alembic file extension: "abc".
 
- Static Public Attributes inherited from SysFileList
static constexpr const char * list_separator = ";"
 Get the default character separator used to join strings list or split single strings to list.
 

Additional Inherited Members

- Public Types inherited from SysFileList
using Timestamps = CoreArray< long >
 

Detailed Description

Specialization of SysFileList for Alembic files.

Extension is hardcoded to "abc" and can't be changed.

Member Function Documentation

void AbcFileList::clear ( )
inlineoverridevirtual

Remove all files and extensions.

Reimplemented from SysFileList.

std::vector< std::string > AbcFileList::get_as_reversed_vector ( ) const

Get the file list in reverse order as an std::vector<std::string> to feed the Alembic API.

In Clarisse, the first file is the base layer, and the following files are meant to be applied on top of it. But the Alembic API expects the list in the reverse order: last file is the base.

Returns
vector of filenames