Nui
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Nui::WebApi::DataTransferItemList Class Reference

#include <data_transfer_item_list.hpp>

Inheritance diagram for Nui::WebApi::DataTransferItemList:
Inheritance graph
[legend]
Collaboration diagram for Nui::WebApi::DataTransferItemList:
Collaboration graph
[legend]

Public Member Functions

 DataTransferItemList (Nui::val dataTransferItemList)
 
int length () const
 
void add (File file)
 
void add (std::string const &str)
 
void add (std::string const &str, std::string const &mimeType)
 
void remove (int index)
 
void clear ()
 
- Public Member Functions inherited from Nui::ValWrapper
 ValWrapper (Nui::val valObject)
 
virtual ~ValWrapper ()=default
 
 ValWrapper (ValWrapper const &)=default
 
 ValWrapper (ValWrapper &&) noexcept=default
 
ValWrapperoperator= (ValWrapper const &)=default
 
ValWrapperoperator= (ValWrapper &&) noexcept=default
 
Nui::val const & val () const &noexcept
 
Nui::val val () &&noexcept
 
 operator Nui::val const & () const &noexcept
 
 operator Nui::val () &&noexcept
 

Additional Inherited Members

- Protected Attributes inherited from Nui::ValWrapper
Nui::val val_
 

Constructor & Destructor Documentation

◆ DataTransferItemList()

Nui::WebApi::DataTransferItemList::DataTransferItemList ( Nui::val  dataTransferItemList)
explicit

Member Function Documentation

◆ add() [1/3]

void Nui::WebApi::DataTransferItemList::add ( File  file)

◆ add() [2/3]

void Nui::WebApi::DataTransferItemList::add ( std::string const &  str)

◆ add() [3/3]

void Nui::WebApi::DataTransferItemList::add ( std::string const &  str,
std::string const &  mimeType 
)

◆ clear()

void Nui::WebApi::DataTransferItemList::clear ( )

◆ length()

int Nui::WebApi::DataTransferItemList::length ( ) const

◆ remove()

void Nui::WebApi::DataTransferItemList::remove ( int  index)

The documentation for this class was generated from the following files: