LEFT | RIGHT |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2008 INRIA | 3 * Copyright (c) 2008 INRIA |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software | 15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 * | 17 * |
18 */ | 18 */ |
19 | 19 |
20 #include "string.h" | 20 #include "string.h" |
21 | 21 |
22 /** | 22 /** |
23 * \file | 23 * \file |
24 * \ingroup attribute_String | 24 * \ingroup attribute_String |
25 * ns3::StringValue attribute value implementation. | 25 * ns3::StringValue attribute value implementation. |
26 */ | 26 */ |
27 | 27 |
28 namespace ns3 { | 28 namespace ns3 { |
29 | 29 |
30 #ifdef _WIN32 | |
31 ATTRIBUTE_CHECKER_IMPLEMENT_WITH_NAME_LIB (String, "std::string", NS3CORELIB); | 30 ATTRIBUTE_CHECKER_IMPLEMENT_WITH_NAME_LIB (String, "std::string", NS3CORELIB); |
32 ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME_LIB (std::string, String, NS3CORELIB); | 31 ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME_LIB (std::string, String, NS3CORELIB); |
33 #else | |
34 ATTRIBUTE_CHECKER_IMPLEMENT_WITH_NAME (String, "std::string"); | |
35 ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME (std::string, String); | |
36 #endif | |
37 | 32 |
38 } // namespace ns3 | 33 } // namespace ns3 |
LEFT | RIGHT |