2 * Copyright (C) 2013 HERE Global B.V. All rights reserved.
3 * This software, including documentation, is protected by copyright controlled by
4 * HERE Global B.V. (“Software”). All rights are reserved. Copying, including reproducing,
5 * storing, adapting or translating, any or all of this material requires the prior
6 * written consent of HERE Global B.V. You may use this
7 * Software in accordance with the terms and conditions defined in the
8 * HERE Location Platform Services Terms and Conditions, available at
9 * http://developer.here.com/terms-conditions-base
11 * As an additional permission to the above, you may distribute Software,
12 * in object code format as part of an Application, according to, and subject to, terms and
13 * conditions defined in the Tizen Software Development kit (“SDK”) License Agreement.
14 * You may distribute such object code format Application under terms of your choice,
15 * provided that the header and source files of the Software have not been modified.
21 #include "common/HereMaps_global.h"
25 HERE_MAPS_BEGIN_NAMESPACE
33 HERE_MAPS_END_NAMESPACE
35 //add operators to global namespace
38 * This is an operator that inserts the contents of a <code>Result</code> object
39 * into the output steam.
41 * @param os A reference to the output stream to which the right-hand object is inserted.
43 * @param rResult A constant reference to an object whose contents are to be
46 * @return A reference to the output stream after insertion.
48 std::ostream& operator<<(std::ostream& os, const HERE_MAPS_NAMESPACE_PREFIX::Result& rResult);
51 * This is an operator that inserts the contents of a <code>MetaInfo</code>
52 * object into the output steam.
54 * @param os A reference to the output stream to which the right-hand object is
57 * @param rMetaInfo A constant reference to an object whose contents are to be
60 * @return A reference to the output stream after insertion.
62 std::ostream& operator<<(std::ostream& os, const HERE_MAPS_NAMESPACE_PREFIX::MetaInfo& rMetaInfo);
65 * This is an operator that inserts the contents of a <code>GeoLocation</code>
66 * object into the output steam.
68 * @param os A reference to the output stream to which the right-hand object is
71 * @param rLocation A constant reference to an object whose contents are to be
74 * @return A reference to the output stream after insertion.
76 std::ostream& operator<<(std::ostream& os, const HERE_MAPS_NAMESPACE_PREFIX::GeoLocation& rLocation);
79 * This is an operator that inserts the contents of an <code>Address</code>
80 * object into the output steam.
82 * @param os A reference to the output stream to which the right-hand object is
85 * @param rAddress A constant reference to an object whose contents are to be
88 * @return A reference to the output stream after insertion.
90 std::ostream& operator<<(std::ostream& os, const HERE_MAPS_NAMESPACE_PREFIX::Address& rAddress);
93 * This is an operator that inserts the contents of a
94 * <code>GeoCoordinates</code> object into the output steam.
96 * @param os A reference to the output stream to which the right-hand object is
99 * @param rCoord A constant reference to an object whose contents are to be
102 * @return A reference to the output stream after insertion.
104 std::ostream& operator<<(std::ostream& os, const HERE_MAPS_NAMESPACE_PREFIX::GeoCoordinates& rCoord);