This file is indexed.

/usr/include/Wt/Mail/Mailbox is in libwt-dev 3.3.4+dfsg-6ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2011 Emweb bvba, Kessel-Lo, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef WT_MAIL_MAILBOX_H_
#define WT_MAIL_MAILBOX_H_

#include <string>
#include <Wt/WString>

namespace Wt {
  namespace Mail {

/*! \class Mailbox Wt/Mail/Mailbox Wt/Mail/Mailbox
 *  \brief An email sender or recipient mailbox
 *
 * \ingroup mail
 */
class WT_API Mailbox
{
public:
  /*! \brief Default constructor.
   *
   * Creates an empty() mailbox.
   */
  Mailbox();

  /*! \brief Constructs a mailbox using an address.
   *
   * Constructs a mailbox which is only defined by an email address
   * (i.e. without a display name).
   */
  Mailbox(const std::string& address);

  /*! \brief Constructs a mailbox using an address and display name.
   */
  Mailbox(const std::string& address, const WT_USTRING& displayName);

  /*! \brief Returns whether the mailbox is empty.
   */
  bool empty() const { return address_.empty(); }

  void write(const std::string& header, std::ostream& out) const;

  /*! \brief Returns the email address.
   *
   * Returns "" if empty()
   */
  const std::string& address() const { return address_; }

  /*! \brief Returns the display name.
   */
  const WT_USTRING& displayName() const { return displayName_; }

private:
  std::string address_;
  WT_USTRING displayName_;
};

  }
}

#endif // WT_MAIL_MAILBOX_H_