Skip to content

Commit

Permalink
style: 🎨 add missing methods to keywords.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreHiroyuki committed Jan 2, 2024
1 parent 2b4e3c9 commit 134160a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
20 changes: 17 additions & 3 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
#######################################

DataTomeMvAvg KEYWORD1
DataTomeAnalysis KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
# DataTomeMvAvg
#######################################

push KEYWORD2
Expand All @@ -21,10 +23,22 @@ back KEYWORD2

atIndex KEYWORD2
size KEYWORD2
point_count KEYWORD2

resize KEYWORD2
clear KEYWORD2
fill KEYWORD2

create_partial KEYWORD2
get_partial KEYWORD2
partial_create KEYWORD2
partial_get KEYWORD2
partial_size KEYWORD2
partial_point_count KEYWORD2

#######################################
# Methods and Functions (KEYWORD2)
# DataTomeAnalysis
#######################################

std KEYWORD2
var KEYWORD2
partial_var KEYWORD2
partial_std KEYWORD2
4 changes: 2 additions & 2 deletions src/DataTomeMvAvg.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ class DataTomeMvAvg {

TypeOfArray at_index(size_t index) { return _array[index]; }

// Modify array

size_t size() { return _array_size; }

size_t point_count() { return _average_counter; }

// Modify array

DataTomeMvAvg<TypeOfArray, TypeOfSum> &resize(size_t new_size) {
if (new_size == _array_size) return *this;

Expand Down

0 comments on commit 134160a

Please sign in to comment.