Public Member Functions | Protected Attributes | List of all members
cudf::test::detail::column_wrapper Class Reference

Base class for a wrapper around a cudf::column. More...

#include <column_wrapper.hpp>

Inheritance diagram for cudf::test::detail::column_wrapper:
cudf::test::dictionary_column_wrapper< KeyElementTo, SourceElementT > cudf::test::dictionary_column_wrapper< std::string > cudf::test::fixed_point_column_wrapper< Rep > cudf::test::fixed_width_column_wrapper< ElementTo, SourceElementT > cudf::test::lists_column_wrapper< T, SourceElementT > cudf::test::strings_column_wrapper cudf::test::structs_column_wrapper

Public Member Functions

 operator column_view () const
 Implicit conversion operator to column_view. More...
 
 operator mutable_column_view ()
 Implicit conversion operator to mutable_column_view. More...
 
std::unique_ptr< cudf::columnrelease ()
 Releases internal unique_ptr to wrapped column. More...
 

Protected Attributes

std::unique_ptr< cudf::columnwrapped {}
 The wrapped column.
 

Detailed Description

Base class for a wrapper around a cudf::column.

Classes that derive from column_wrapper may be passed directly into any API expecting a column_view or mutable_column_view.

column_wrapper should not be instantiated directly.

Definition at line 65 of file column_wrapper.hpp.

Member Function Documentation

◆ operator column_view()

cudf::test::detail::column_wrapper::operator column_view ( ) const
inline

Implicit conversion operator to column_view.

Allows passing in a column_wrapper (or any class deriving from column_wrapper) to be passed into any API expecting a column_view parameter.

Definition at line 74 of file column_wrapper.hpp.

◆ operator mutable_column_view()

cudf::test::detail::column_wrapper::operator mutable_column_view ( )
inline

Implicit conversion operator to mutable_column_view.

Allows passing in a column_wrapper (or any class deriving from column_wrapper) to be passed into any API expecting a mutable_column_view parameter.

Definition at line 83 of file column_wrapper.hpp.

◆ release()

std::unique_ptr<cudf::column> cudf::test::detail::column_wrapper::release ( )
inline

Releases internal unique_ptr to wrapped column.

Returns
unique_ptr to wrapped column

Definition at line 90 of file column_wrapper.hpp.


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