Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
3bc2fc41
Unverified
Commit
3bc2fc41
authored
Dec 20, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing get
parent
6c58eaa7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
include/cif++/row.hpp
+7
-0
No files found.
include/cif++/row.hpp
View file @
3bc2fc41
...
...
@@ -290,6 +290,13 @@ class row_handle
return
operator
[](
get_column_ix
(
column
)).
template
as
<
T
>
();
}
/// \brief Get the value of column @a column cast to type @a T
template
<
typename
T
>
T
get
(
std
::
string_view
column
)
const
{
return
operator
[](
get_column_ix
(
column
)).
template
as
<
T
>
();
}
/// \brief assign each of the columns named in @a values to their respective value
void
assign
(
const
std
::
vector
<
item
>
&
values
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment