OpendTect  7.0
Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
FileFormatList Class Reference

A list of file formats for simple selection of files. More...

Public Types

typedef impl_type::const_iterator const_iterator
 
typedef impl_type::const_reference const_reference
 
typedef impl_type::difference_type difference_type
 
typedef impl_type::idx_type idx_type
 
typedef impl_type::iterator iterator
 
typedef impl_type::object_type object_type
 
typedef impl_type::reference reference
 
typedef impl_type::size_type size_type
 
typedef impl_type::value_type value_type
 

Public Member Functions

 FileFormatList ()
 
 FileFormatList (const char *traditional_img_fmt_str)
 
 FileFormatList (const FileFormat &)
 
 FileFormatList (const FileFormatList &)
 
 FileFormatList (const uiString &, const char *ext, const char *ext2=nullptr, const char *ext3=nullptr)
 
 ~FileFormatList ()
 
void addFormat (const FileFormat &fmt)
 
void addFormat (const uiString &, const char *)
 
void addFormats (const FileFormatList &)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
FileFormat format (int) const
 
BufferString getFileFilter (int) const
 
BufferString getFileFilters () const
 
size_type getIdx (const_iterator it) const
 
size_type getIdx (iterator it) const
 
int indexOf (const char *ext) const
 
bool isPresent (const char *ext) const
 
size_type max_size () const
 
FileFormatListoperator= (const FileFormatList &)
 
void removeFormat (int)
 
void setEmpty ()
 
int size () const
 
void swap (FileFormatList &oth)
 
uiString userDesc (int) const
 

Protected Types

typedef ObjectSet< FileFormatimpl_type
 

Protected Attributes

impl_type fmts_
 

Detailed Description

A list of file formats for simple selection of files.

<>

Member Typedef Documentation

◆ const_iterator

◆ const_reference

◆ difference_type

◆ idx_type

◆ impl_type

◆ iterator

◆ object_type

◆ reference

◆ size_type

◆ value_type

Constructor & Destructor Documentation

◆ FileFormatList() [1/5]

FileFormatList::FileFormatList ( )
inline

◆ FileFormatList() [2/5]

FileFormatList::FileFormatList ( const FileFormat )

◆ FileFormatList() [3/5]

FileFormatList::FileFormatList ( const char *  traditional_img_fmt_str)

◆ FileFormatList() [4/5]

FileFormatList::FileFormatList ( const uiString ,
const char *  ext,
const char *  ext2 = nullptr,
const char *  ext3 = nullptr 
)

◆ FileFormatList() [5/5]

FileFormatList::FileFormatList ( const FileFormatList )

◆ ~FileFormatList()

FileFormatList::~FileFormatList ( )
inline

Member Function Documentation

◆ addFormat() [1/2]

void FileFormatList::addFormat ( const FileFormat fmt)
inline

◆ addFormat() [2/2]

void FileFormatList::addFormat ( const uiString ,
const char *   
)

◆ addFormats()

void FileFormatList::addFormats ( const FileFormatList )

◆ begin() [1/2]

iterator FileFormatList::begin ( )
inline

◆ begin() [2/2]

const_iterator FileFormatList::begin ( ) const
inline

◆ cbegin()

const_iterator FileFormatList::cbegin ( ) const
inline

◆ cend()

const_iterator FileFormatList::cend ( ) const
inline

◆ empty()

bool FileFormatList::empty ( ) const
inline

◆ end() [1/2]

iterator FileFormatList::end ( )
inline

◆ end() [2/2]

const_iterator FileFormatList::end ( ) const
inline

◆ format()

FileFormat FileFormatList::format ( int  ) const

◆ getFileFilter()

BufferString FileFormatList::getFileFilter ( int  ) const

◆ getFileFilters()

BufferString FileFormatList::getFileFilters ( ) const

◆ getIdx() [1/2]

size_type FileFormatList::getIdx ( const_iterator  it) const
inline

◆ getIdx() [2/2]

size_type FileFormatList::getIdx ( iterator  it) const
inline

◆ indexOf()

int FileFormatList::indexOf ( const char *  ext) const

◆ isPresent()

bool FileFormatList::isPresent ( const char *  ext) const
inline

◆ max_size()

size_type FileFormatList::max_size ( ) const
inline

◆ operator=()

FileFormatList& FileFormatList::operator= ( const FileFormatList )

◆ removeFormat()

void FileFormatList::removeFormat ( int  )

◆ setEmpty()

void FileFormatList::setEmpty ( )

◆ size()

int FileFormatList::size ( ) const
inline

◆ swap()

void FileFormatList::swap ( FileFormatList oth)
inline

◆ userDesc()

uiString FileFormatList::userDesc ( int  ) const

Member Data Documentation

◆ fmts_

impl_type FileFormatList::fmts_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024