Skip to content

Commit

Permalink
Cleanup bal (#4832)
Browse files Browse the repository at this point in the history
  • Loading branch information
osubboo authored and GitHub Enterprise committed Jul 16, 2024
1 parent f36c72c commit 6a3c2b1
Show file tree
Hide file tree
Showing 58 changed files with 136 additions and 599 deletions.
8 changes: 0 additions & 8 deletions groups/bal/balber/balber_berconstants.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berconstants.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_berconstants.h>

#include <bsls_ident.h>
Expand Down
12 changes: 4 additions & 8 deletions groups/bal/balber/balber_berconstants.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berconstants.h -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#ifndef INCLUDED_BALBER_BERCONSTANTS
#define INCLUDED_BALBER_BERCONSTANTS

Expand All @@ -27,6 +19,10 @@ BSLS_IDENT("$Id: $")
//
///Usage
///-----
// This section illustrates intended use of this component.
//
///Example 1: Basic Usage
/// - - - - - - - - - - -
// TBD

#include <balscm_version.h>
Expand Down
12 changes: 1 addition & 11 deletions groups/bal/balber/balber_berconstants.t.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
// balber_berconstants.t.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------


#include <balber_berconstants.h>

#include <bslim_testutil.h>
Expand All @@ -23,8 +14,7 @@ using namespace bsl;
// TEST PLAN
// ----------------------------------------------------------------------------
//
//

// TBD
// ----------------------------------------------------------------------------

// ============================================================================
Expand Down
8 changes: 0 additions & 8 deletions groups/bal/balber/balber_berdecoder.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berdecoder.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_berdecoder.h>

#include <bsls_ident.h>
Expand Down
15 changes: 3 additions & 12 deletions groups/bal/balber/balber_berdecoder.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berdecoder.h -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#ifndef INCLUDED_BALBER_BERDECODER
#define INCLUDED_BALBER_BERDECODER

Expand Down Expand Up @@ -105,21 +97,20 @@ BSLS_IDENT("$Id: $")
#include <bdlat_typecategory.h>
#include <bdlat_valuetypefunctions.h>

#include <bslma_allocator.h>

#include <bsl_string.h>

#include <bdlb_variant.h>

#include <bdlsb_memoutstreambuf.h>

#include <bslma_allocator.h>

#include <bsls_assert.h>
#include <bsls_objectbuffer.h>
#include <bsls_platform.h>
#include <bsls_review.h>

#include <bsl_istream.h>
#include <bsl_ostream.h>
#include <bsl_string.h>
#include <bsl_vector.h>

namespace BloombergLP {
Expand Down
35 changes: 12 additions & 23 deletions groups/bal/balber/balber_berdecoder.t.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berdecoder.t.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_berdecoder.h>

#include <balber_berencoder.h> // for testing only
Expand Down Expand Up @@ -39,32 +31,29 @@
#include <bdlsb_memoutstreambuf.h> // for testing only
#include <bdlsb_fixedmeminstreambuf.h> // for testing only

#include <bdlb_chartype.h>
#include <bdlb_print.h>
#include <bdlb_printmethods.h>

#include <bdlt_date.h>
#include <bdlt_datetime.h>
#include <bdlt_prolepticdateimputil.h>
#include <bdlt_time.h>

#include <bslim_fuzzdataview.h>
#include <bslim_fuzzutil.h>
#include <bslim_printer.h>
#include <bslim_testutil.h>

#include <bslma_allocator.h>
#include <bslma_testallocator.h>
#include <bslma_testallocatormonitor.h>

#include <bsls_objectbuffer.h>
#include <bsls_review.h>
#include <bsls_stopwatch.h>
#include <bsls_types.h>

#include <bdlt_date.h>
#include <bdlt_datetime.h>
#include <bdlt_prolepticdateimputil.h>
#include <bdlt_time.h>

#include <bdlb_chartype.h>
#include <bdlb_print.h>
#include <bdlb_printmethods.h>

#include <bslim_testutil.h>

#include <bslma_testallocator.h>
#include <bslma_testallocatormonitor.h>

#include <bsl_cstdlib.h>
#include <bsl_cstring.h>
#include <bsl_fstream.h>
Expand All @@ -73,7 +62,7 @@
#include <bsl_iterator.h>

using namespace BloombergLP;
using namespace bsl; // automatically added by script
using namespace bsl;
namespace test = BloombergLP::s_baltst;

// ============================================================================
Expand Down
23 changes: 8 additions & 15 deletions groups/bal/balber/balber_berdecoderoptions.cpp
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
// balber_berdecoderoptions.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_berdecoderoptions.h>

#include <bsls_ident.h>
BSLS_IDENT_RCSID(balber_berdecoderoptions_cpp,"$Id$ $CSID$")

#include <bdlat_formattingmode.h>

#include <bsls_assert.h>
#include <bdlb_chartype.h>
#include <bdlb_print.h>
#include <bdlb_printmethods.h>
#include <bdlb_string.h>

#include <bsl_ostream.h>
#include <bsls_assert.h>

#include <bsl_iomanip.h>
#include <bsl_ostream.h>

namespace BloombergLP {

Expand All @@ -45,36 +38,36 @@ const bdlat_AttributeInfo balber::BerDecoderOptions::ATTRIBUTE_INFO_ARRAY[] = {
"MaxDepth", // name
sizeof("MaxDepth") - 1, // name length
"maximum recursion depth", // annotation
bdlat_FormattingMode::e_DEC // formatting mode
bdlat_FormattingMode::e_DEC // formatting mode
},
{
e_ATTRIBUTE_ID_SKIP_UNKNOWN_ELEMENTS,
"SkipUnknownElements", // name
sizeof("SkipUnknownElements") - 1, // name length
"Option to skip unknown elements", // annotation
bdlat_FormattingMode::e_TEXT // formatting mode
bdlat_FormattingMode::e_TEXT // formatting mode
},
{
e_ATTRIBUTE_ID_TRACE_LEVEL,
"TraceLevel", // name
sizeof("TraceLevel") - 1, // name length
"trace (verbosity) level", // annotation
bdlat_FormattingMode::e_DEC // formatting mode
bdlat_FormattingMode::e_DEC // formatting mode
},
{
e_ATTRIBUTE_ID_MAX_SEQUENCE_SIZE,
"MaxSequenceSize", // name
sizeof("MaxSequenceSize") - 1, // name length
"maximum sequence size", // annotation
bdlat_FormattingMode::e_DEC // formatting mode
bdlat_FormattingMode::e_DEC // formatting mode
},
{
e_ATTRIBUTE_ID_DEFAULT_EMPTY_STRINGS,
"DefaultEmptyStrings", // name
sizeof("DefaultEmptyStrings") - 1, // name length
"Option to decode empty strings as their default values",
// annotation
bdlat_FormattingMode::e_TEXT // formatting mode
bdlat_FormattingMode::e_TEXT // formatting mode
}
};

Expand Down
12 changes: 2 additions & 10 deletions groups/bal/balber/balber_berdecoderoptions.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berdecoderoptions.h -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#ifndef INCLUDED_BALBER_BERDECODEROPTIONS
#define INCLUDED_BALBER_BERDECODEROPTIONS

Expand All @@ -26,13 +18,13 @@ BSLS_IDENT("$Id: $")
#include <bdlat_typetraits.h>
#include <bdlat_valuetypefunctions.h>

#include <bdlb_printmethods.h>

#include <bsls_assert.h>

#include <bslx_instreamfunctions.h>
#include <bslx_outstreamfunctions.h>

#include <bdlb_printmethods.h>

#include <bsl_iosfwd.h>

namespace BloombergLP {
Expand Down
8 changes: 0 additions & 8 deletions groups/bal/balber/balber_berdecoderoptions.t.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berdecoderoptions.t.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_berdecoderoptions.h>

#include <bsls_ident.h>
Expand Down
9 changes: 1 addition & 8 deletions groups/bal/balber/balber_berencoder.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
// balber_berencoder.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_berencoder.h>

#include <bsls_ident.h>
BSLS_IDENT_RCSID(balber_berencoder_cpp,"$Id$ $CSID$")

#include <bdlat_formattingmode.h>

#include <bslma_default.h>

namespace BloombergLP {
Expand Down
17 changes: 4 additions & 13 deletions groups/bal/balber/balber_berencoder.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berencoder.h -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#ifndef INCLUDED_BALBER_BERENCODER
#define INCLUDED_BALBER_BERENCODER

Expand Down Expand Up @@ -183,19 +175,18 @@ BSLS_IDENT("$Id: $")
#include <bdlat_typecategory.h>
#include <bdlat_typename.h>

#include <bslma_allocator.h>

#include <bsl_string.h>

#include <bdlsb_memoutstreambuf.h>

#include <bslma_allocator.h>

#include <bsls_assert.h>
#include <bsls_objectbuffer.h>

#include <bsl_ostream.h>
#include <bsl_string.h>
#include <bsl_vector.h>
#include <bsl_typeinfo.h>

#include <bsls_assert.h>

namespace BloombergLP {
namespace balber {
Expand Down
8 changes: 0 additions & 8 deletions groups/bal/balber/balber_berencoder.t.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
// balber_berencoder.t.cpp -*-C++-*-

#include <balber_berencoder.h>

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_berconstants.h>
#include <balber_berutil.h>

Expand Down
8 changes: 0 additions & 8 deletions groups/bal/balber/balber_berencoderoptions.t.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_berencoderoptions.t.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_berencoderoptions.h>

#include <bslim_testutil.h>
Expand Down
8 changes: 0 additions & 8 deletions groups/bal/balber/balber_beruniversaltagnumber.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// balber_beruniversaltagnumber.cpp -*-C++-*-

// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example for new development.
// ----------------------------------------------------------------------------

#include <balber_beruniversaltagnumber.h>

#include <bsls_ident.h>
Expand Down
Loading

0 comments on commit 6a3c2b1

Please sign in to comment.