#include <gp_port_info_list_wrapper.hpp>
Detailed Description
A wrapper around the gphoto2 GPPortInfoList struct.
Constructor & Destructor Documentation
gphoto2pp::GPPortInfoListWrapper::GPPortInfoListWrapper |
( |
| ) |
|
gphoto2pp::GPPortInfoListWrapper::~GPPortInfoListWrapper |
( |
| ) |
|
Member Function Documentation
int gphoto2pp::GPPortInfoListWrapper::count |
( |
| ) |
const |
Gets the number of items in the list.
- Returns
- the count of items
- Note
- Direct wrapper for
gp_port_info_list_count(...)
- Exceptions
-
GPhoto2pp::exceptions::gphoto2_exception | |
gphoto2::_GPPortInfoList * gphoto2pp::GPPortInfoListWrapper::getPtr |
( |
| ) |
const |
int gphoto2pp::GPPortInfoListWrapper::lookupName |
( |
std::string const & |
name | ) |
const |
Finds the list index of the specified model name.
- Returns
- the port index
- Note
- Direct wrapper for
gp_port_info_list_lookup_name(...)
- Exceptions
-
GPhoto2pp::exceptions::gphoto2_exception | |
int gphoto2pp::GPPortInfoListWrapper::lookupPath |
( |
std::string const & |
path | ) |
const |
Finds the list index of the specified port path.
- Returns
- the port index
- Note
- Direct wrapper for
gp_port_info_list_lookup_path(...)
- Exceptions
-
GPhoto2pp::exceptions::gphoto2_exception | |
The documentation for this class was generated from the following files: