CPP05 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
Bureaucrat.hpp ファイル

Defines the Bureaucrat class and its exceptions. [詳解]

#include <iostream>
#include <stdexcept>
#include <string>
Bureaucrat.hpp の依存先関係図:
被依存関係図:

[ソースコード]

クラス

class  Bureaucrat
 Represents a bureaucrat with a name and a grade. [詳解]
 
class  Bureaucrat::GradeTooHighException
 
class  Bureaucrat::GradeTooLowException
 

関数

std::ostreamoperator<< (std::ostream &os, const Bureaucrat &bureaucrat)
 Overloads the << operator to print Bureaucrat information.
 

詳解

Defines the Bureaucrat class and its exceptions.

Bureaucrat.hpp に定義があります。

関数詳解

◆ operator<<()

std::ostream & operator<< ( std::ostream os,
const Bureaucrat bureaucrat 
)

Overloads the << operator to print Bureaucrat information.

引数
osThe output stream.
bureaucratThe Bureaucrat object to print.
戻り値
A reference to the output stream.

Bureaucrat.cpp133 行目に定義があります。