Skip to content
Snippets Groups Projects
Commit c9a61734 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

introduce a ProfileHandleList typedef

parent c10b25c2
Branches
Tags
No related merge requests found
......@@ -553,6 +553,9 @@ residue. It mainly contains:
:type: :class:`float`
.. class:: ProfileHandleList
Represents a list of :class:`ProfileHandle` objects
.. class:: ProfileDB
......
......@@ -58,6 +58,10 @@ void export_profile_handle()
.def(vector_indexing_suite<ProfileColumnList>())
;
class_<ProfileHandleList>("ProfileHandleList", init<>())
.def(vector_indexing_suite<ProfileHandleList>())
;
class_<ProfileHandle, ProfileHandlePtr>("ProfileHandle", init<>())
.def("__len__",&ProfileHandle::size)
.def("AddColumn", &ProfileHandle::push_back)
......
......@@ -41,6 +41,7 @@ class ProfileHandle;
class ProfileColumn;
class ProfileDB;
typedef boost::shared_ptr<ProfileHandle> ProfileHandlePtr;
typedef std::vector<ProfileHandle> ProfileHandleList;
typedef boost::shared_ptr<ProfileDB> ProfileDBPtr;
typedef std::vector<ProfileColumn> ProfileColumnList;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment