Skip to content

Commit 4ef2614

Browse files
committed
[ntuple] ntuple -> RNTuple in RNTupleDescriptor.hxx
1 parent 76d97d1 commit 4ef2614

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

tree/ntuple/v7/inc/ROOT/RNTupleDescriptor.hxx

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RNTupleDescriptor CloneDescriptorSchema(const RNTupleDescriptor &desc);
6767
/**
6868
\class ROOT::RFieldDescriptor
6969
\ingroup NTuple
70-
\brief Metadata stored for every field of an ntuple
70+
\brief Metadata stored for every field of an RNTuple
7171
*/
7272
// clang-format on
7373
class RFieldDescriptor final {
@@ -121,7 +121,7 @@ public:
121121
RFieldDescriptor Clone() const;
122122

123123
/// In general, we create a field simply from the C++ type name. For untyped fields, however, we potentially need
124-
/// access to sub fields, which is provided by the ntuple descriptor argument.
124+
/// access to sub fields, which is provided by the RNTupleDescriptor argument.
125125
std::unique_ptr<ROOT::RFieldBase>
126126
CreateField(const RNTupleDescriptor &ntplDesc, const ROOT::RCreateFieldOptions &options = {}) const;
127127

@@ -151,7 +151,7 @@ public:
151151
/**
152152
\class ROOT::RColumnDescriptor
153153
\ingroup NTuple
154-
\brief Metadata stored for every column of an ntuple
154+
\brief Metadata stored for every column of an RNTuple
155155
*/
156156
// clang-format on
157157
class RColumnDescriptor final {
@@ -223,12 +223,12 @@ public:
223223
/**
224224
\class ROOT::RClusterDescriptor
225225
\ingroup NTuple
226-
\brief Metadata for a set of ntuple clusters
226+
\brief Metadata for RNTuple clusters
227227
228228
The cluster descriptor is built in two phases. In a first phase, the descriptor has only an ID.
229229
In a second phase, the event range, column group, page locations and column ranges are added.
230230
Both phases are populated by the RClusterDescriptorBuilder.
231-
Clusters span across all available columns in the ntuple.
231+
Clusters span across all available columns in the RNTuple.
232232
*/
233233
// clang-format on
234234
class RClusterDescriptor final {
@@ -515,8 +515,8 @@ public:
515515
\ingroup NTuple
516516
\brief Clusters are bundled in cluster groups.
517517
518-
Very large ntuples can contain multiple cluster groups to organize cluster metadata.
519-
Every ntuple has at least one cluster group. The clusters in a cluster group are ordered
518+
Very large RNTuples can contain multiple cluster groups to organize cluster metadata.
519+
Every RNTuple has at least one cluster group. The clusters in a cluster group are ordered
520520
corresponding to their first entry number.
521521
*/
522522
// clang-format on
@@ -613,18 +613,18 @@ public:
613613
/**
614614
\class ROOT::RNTupleDescriptor
615615
\ingroup NTuple
616-
\brief The on-storage metadata of an ntuple
616+
\brief The on-storage metadata of an RNTuple
617617
618-
Represents the on-disk (on storage) information about an ntuple. The metadata consists of a header, a footer, and
618+
Represents the on-disk (on storage) information about an RNTuple. The metadata consists of a header, a footer, and
619619
potentially multiple page lists.
620-
The header carries the ntuple schema, i.e. the fields and the associated columns and their relationships.
620+
The header carries the RNTuple schema, i.e. the fields and the associated columns and their relationships.
621621
The footer carries information about one or several cluster groups and links to their page lists.
622622
For every cluster group, a page list envelope stores cluster summaries and page locations.
623623
For every cluster, it stores for every column the range of element indexes as well as a list of pages and page
624624
locations.
625625
626626
The descriptor provides machine-independent (de-)serialization of headers and footers, and it provides lookup routines
627-
for ntuple objects (pages, clusters, ...). It is supposed to be usable by all RPageStorage implementations.
627+
for RNTuple objects (pages, clusters, ...). It is supposed to be usable by all RPageStorage implementations.
628628
629629
The serialization does not use standard ROOT streamers in order to not let it depend on libCore. The serialization uses
630630
the concept of envelopes and frames: header, footer, and page list envelopes have a preamble with a type ID and length.
@@ -640,7 +640,7 @@ public:
640640
class RHeaderExtension;
641641

642642
private:
643-
/// The ntuple name needs to be unique in a given storage location (file)
643+
/// The RNTuple name needs to be unique in a given storage location (file)
644644
std::string fName;
645645
/// Free text from the user
646646
std::string fDescription;
@@ -801,7 +801,7 @@ public:
801801
ROOT::NTupleSize_t GetNEntries() const { return fNEntries; }
802802
ROOT::NTupleSize_t GetNElements(ROOT::DescriptorId_t physicalColumnId) const;
803803

804-
/// Returns the logical parent of all top-level NTuple data fields.
804+
/// Returns the logical parent of all top-level RNTuple data fields.
805805
ROOT::DescriptorId_t GetFieldZeroId() const { return fFieldZeroId; }
806806
const RFieldDescriptor &GetFieldZero() const { return GetFieldDescriptor(GetFieldZeroId()); }
807807
ROOT::DescriptorId_t FindFieldId(std::string_view fieldName, ROOT::DescriptorId_t parentId) const;
@@ -847,15 +847,15 @@ public:
847847
// clang-format on
848848
class RNTupleDescriptor::RColumnDescriptorIterable final {
849849
private:
850-
/// The associated NTuple for this range.
850+
/// The associated RNTuple for this range.
851851
const RNTupleDescriptor &fNTuple;
852852
/// The descriptor ids of the columns ordered by field, representation, and column index
853853
std::vector<ROOT::DescriptorId_t> fColumns = {};
854854

855855
public:
856856
class RIterator final {
857857
private:
858-
/// The enclosing range's NTuple.
858+
/// The enclosing range's RNTuple.
859859
const RNTupleDescriptor &fNTuple;
860860
/// The enclosing range's descriptor id list.
861861
const std::vector<ROOT::DescriptorId_t> &fColumns;
@@ -901,7 +901,7 @@ public:
901901
// clang-format on
902902
class RNTupleDescriptor::RFieldDescriptorIterable final {
903903
private:
904-
/// The associated NTuple for this range.
904+
/// The associated RNTuple for this range.
905905
const RNTupleDescriptor &fNTuple;
906906
/// The descriptor IDs of the child fields. These may be sorted using
907907
/// a comparison function.
@@ -910,7 +910,7 @@ private:
910910
public:
911911
class RIterator final {
912912
private:
913-
/// The enclosing range's NTuple.
913+
/// The enclosing range's RNTuple.
914914
const RNTupleDescriptor &fNTuple;
915915
/// The enclosing range's descriptor id list.
916916
const std::vector<ROOT::DescriptorId_t> &fFieldChildren;
@@ -957,20 +957,20 @@ public:
957957
/**
958958
\class ROOT::RNTupleDescriptor::RClusterGroupDescriptorIterable
959959
\ingroup NTuple
960-
\brief Used to loop over all the cluster groups of an ntuple (in unspecified order)
960+
\brief Used to loop over all the cluster groups of an RNTuple (in unspecified order)
961961
962962
Enumerate all cluster group IDs from the descriptor. No specific order can be assumed.
963963
*/
964964
// clang-format on
965965
class RNTupleDescriptor::RClusterGroupDescriptorIterable final {
966966
private:
967-
/// The associated NTuple for this range.
967+
/// The associated RNTuple for this range.
968968
const RNTupleDescriptor &fNTuple;
969969

970970
public:
971971
class RIterator final {
972972
private:
973-
/// The enclosing range's NTuple.
973+
/// The enclosing range's RNTuple.
974974
const RNTupleDescriptor &fNTuple;
975975
std::size_t fIndex = 0;
976976

@@ -1007,7 +1007,7 @@ public:
10071007
/**
10081008
\class ROOT::RNTupleDescriptor::RClusterDescriptorIterable
10091009
\ingroup NTuple
1010-
\brief Used to loop over all the clusters of an ntuple (in unspecified order)
1010+
\brief Used to loop over all the clusters of an RNTuple (in unspecified order)
10111011
10121012
Enumerate all cluster IDs from all cluster descriptors. No specific order can be assumed, use
10131013
RNTupleDescriptor::FindNextClusterId() and RNTupleDescriptor::FindPrevClusterId() to traverse
@@ -1016,13 +1016,13 @@ clusters by entry number.
10161016
// clang-format on
10171017
class RNTupleDescriptor::RClusterDescriptorIterable final {
10181018
private:
1019-
/// The associated NTuple for this range.
1019+
/// The associated RNTuple for this range.
10201020
const RNTupleDescriptor &fNTuple;
10211021

10221022
public:
10231023
class RIterator final {
10241024
private:
1025-
/// The enclosing range's NTuple.
1025+
/// The enclosing range's RNTuple.
10261026
const RNTupleDescriptor &fNTuple;
10271027
std::size_t fIndex = 0;
10281028

@@ -1059,18 +1059,18 @@ public:
10591059
/**
10601060
\class ROOT::RNTupleDescriptor::RExtraTypeInfoDescriptorIterable
10611061
\ingroup NTuple
1062-
\brief Used to loop over all the extra type info record of an ntuple (in unspecified order)
1062+
\brief Used to loop over all the extra type info record of an RNTuple (in unspecified order)
10631063
*/
10641064
// clang-format on
10651065
class RNTupleDescriptor::RExtraTypeInfoDescriptorIterable final {
10661066
private:
1067-
/// The associated NTuple for this range.
1067+
/// The associated RNTuple for this range.
10681068
const RNTupleDescriptor &fNTuple;
10691069

10701070
public:
10711071
class RIterator final {
10721072
private:
1073-
/// The enclosing range's NTuple.
1073+
/// The enclosing range's RNTuple.
10741074
const RNTupleDescriptor &fNTuple;
10751075
std::size_t fIndex = 0;
10761076

@@ -1268,7 +1268,7 @@ public:
12681268
12691269
Dangling field descriptors describe a single field in isolation. They are
12701270
missing the necessary relationship information (parent field, any child fields)
1271-
required to describe a real NTuple field.
1271+
required to describe a real RNTuple field.
12721272
12731273
Dangling field descriptors can only become actual descriptors when added to an
12741274
RNTupleDescriptorBuilder instance and then linked to other fields.
@@ -1290,7 +1290,7 @@ public:
12901290
/// These properties must be set using RNTupleDescriptorBuilder::AddFieldLink().
12911291
explicit RFieldDescriptorBuilder(const RFieldDescriptor &fieldDesc);
12921292

1293-
/// Make a new RFieldDescriptorBuilder based off a live NTuple field.
1293+
/// Make a new RFieldDescriptorBuilder based off a live RNTuple field.
12941294
static RFieldDescriptorBuilder FromField(const ROOT::RFieldBase &field);
12951295

12961296
RFieldDescriptorBuilder &FieldId(ROOT::DescriptorId_t fieldId)
@@ -1529,7 +1529,7 @@ private:
15291529

15301530
public:
15311531
/// Checks whether invariants hold:
1532-
/// * NTuple name is valid
1532+
/// * RNTuple name is valid
15331533
/// * Fields have valid parents
15341534
/// * Number of columns is constant across column representations
15351535
RResult<void> EnsureValidDescriptor() const;
@@ -1562,7 +1562,7 @@ public:
15621562
RResult<void> AddExtraTypeInfo(RExtraTypeInfoDescriptor &&extraTypeInfoDesc);
15631563
void ReplaceExtraTypeInfo(RExtraTypeInfoDescriptor &&extraTypeInfoDesc);
15641564

1565-
/// Clears so-far stored clusters, fields, and columns and return to a pristine ntuple descriptor
1565+
/// Clears so-far stored clusters, fields, and columns and return to a pristine RNTupleDescriptor
15661566
void Reset();
15671567

15681568
/// Mark the beginning of the header extension; any fields and columns added after a call to this function are

0 commit comments

Comments
 (0)