<commit_before>/*! \file state.cpp
 *    This source file contains a base class for all state classes in Tudat.
 *
 *    Path              : /Astrodynamics/States/
 *    Version           : 4
 *    Check status      : Checked
 *
 *    Checker           : <NAME>
 *    Affiliation       : Delft University of Technology
 *    E-mail address    : <EMAIL>
 *
 *    Checker           : <NAME>
 *    Affiliation       : Delft University of Technology
 *    E-mail address    : <EMAIL>
 *
 *    Date created      : 26 October, 2010
 *    Last modified     : 4 February, 2011
 *
 *    References
 *
 *    Notes
 *
 *    Copyright (c) 2010 Delft University of Technology.
 *
 *    This software is protected by national and international copyright.
 *    Any unauthorized use, reproduction or modification is unlawful and
 *    will be prosecuted. Commercial and non-private application of the
 *    software in any form is strictly prohibited unless otherwise granted
 *    by the authors.
 *
 *    The code is provided without any warranty; without even the implied
 *    warranty of merchantibility or fitness for a particular purpose.
 *
 *    Changelog
 *      YYMMDD    Author            Comment
 *      101022    <NAME>          First creation of code.
 *      101202    <NAME>         Changed path and dot added.
 *      110204    <NAME>          Changed path; added missing comment.
 *      110207    <NAME>          Added ostream overload.
 */

// Include statements.
#include "state.h"

// Using declarations.
using std::endl;

//! Default constructor.
State::State( )
{
}

//! Default destructor.
State::~State( )
{
}

//! Overload ostream to print class information.
/*!
 * Overloads ostream to print class information.
 * \param stream Stream object.
 * \param pointerToPropagator Pointer to State.
 */
std::ostream& operator<<( std::ostream& stream, State* pointerToState )
{
    stream << "The state is set to: " << pointerToState->state << endl;
}

// End of file.<commit_msg>Commit of missing return statement in ostream overload<commit_after>/*! \file state.cpp
 *    This source file contains a base class for all state classes in Tudat.
 *
 *    Path              : /Astrodynamics/States/
 *    Version           : 4
 *    Check status      : Checked
 *
 *    Checker           : <NAME>
 *    Affiliation       : Delft University of Technology
 *    E-mail address    : <EMAIL>
 *
 *    Checker           : <NAME>
 *    Affiliation       : Delft University of Technology
 *    E-mail address    : <EMAIL>
 *
 *    Date created      : 26 October, 2010
 *    Last modified     : 4 February, 2011
 *
 *    References
 *
 *    Notes
 *
 *    Copyright (c) 2010 Delft University of Technology.
 *
 *    This software is protected by national and international copyright.
 *    Any unauthorized use, reproduction or modification is unlawful and
 *    will be prosecuted. Commercial and non-private application of the
 *    software in any form is strictly prohibited unless otherwise granted
 *    by the authors.
 *
 *    The code is provided without any warranty; without even the implied
 *    warranty of merchantibility or fitness for a particular purpose.
 *
 *    Changelog
 *      YYMMDD    Author            Comment
 *      101022    <NAME>          First creation of code.
 *      101202    <NAME>         Changed path and dot added.
 *      110204    <NAME>          Changed path; added missing comment.
 *      110207    <NAME>          Added ostream overload.
 */

// Include statements.
#include "state.h"

// Using declarations.
using std::endl;

//! Default constructor.
State::State( )
{
}

//! Default destructor.
State::~State( )
{
}

//! Overload ostream to print class information.
/*!
 * Overloads ostream to print class information.
 * \param stream Stream object.
 * \param pointerToPropagator Pointer to State.
 */
std::ostream& operator<<( std::ostream& stream, State* pointerToState )
{
    stream << "The state is set to: " << pointerToState->state << endl;

    // Return stream.
    return stream;
}

// End of file.
{'fraction_non_alphanumeric': 0.08882309400444116, 'fraction_numerical': 0.019738465334320256, 'mean_word_length': 2.2772837510105095, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7033219', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1079, 'n_words': 416}