Skip to content

Commit

Permalink
Move exceptions header to n4-all
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaponte authored and jacg committed Oct 31, 2023
1 parent a8ba43d commit 23bafdb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion doc/src/reference/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ As your program grows and is split into multiple files, and you gain more experi

Various ready-made conveniences to alleviate the tedium and verbosity of oft-encountered tasks. These are also available via the separate headers:
+ `<n4-constants.hh>`: physical constants not provided by `CLHEP`
+ `<n4-exceptions.hh>`: exceptions relating to situations arising in nain4 code
+ `<n4-inspect.hh>`: finding existing geometry components, materials, etc.
+ `<n4-random.hh>`: random number generation
+ `<n4-sequences.hh>`: convenient creation of sequences of numerical data
Expand All @@ -45,3 +44,6 @@ As your program grows and is split into multiple files, and you gain more experi
Utilities to help with writing automated tests for `nain4` applications. These are also available via the separate headers:
+ `<n4-defaults.hh>`: ready-made dummy application components
+ `<n4-geometry-iterators.hh>`: iterating over all sub-elements of a geometry

+ Other headers
+ `<n4-exceptions.hh>`: exceptions relating to situations arising in nain4 code
1 change: 1 addition & 0 deletions nain4/src/n4-all.hh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include <n4-main.hh>
#include <n4-exceptions.hh>
#include <n4-geometry.hh>
#include <n4-utils.hh>
#include <n4-testing.hh>
1 change: 0 additions & 1 deletion nain4/src/n4-utils.hh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <n4-constants.hh>
#include <n4-exceptions.hh>
#include <n4-inspect.hh>
#include <n4-random.hh>
#include <n4-sequences.hh>
Expand Down

0 comments on commit 23bafdb

Please sign in to comment.