Pol
Revision:50b1c95
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
uobjhelp.cpp
Go to the documentation of this file.
1
7
#include "
uobjhelp.h
"
8
9
#include "
ufunc.h
"
10
#include "
ufuncstd.h
"
11
#include "
uobject.h
"
12
#include "
network/client.h
"
13
14
#include "../clib/stlutil.h"
15
16
namespace
Pol
17
{
18
namespace
Core
19
{
20
void
UObjectHelper::ShowProperties
(
Network::Client
* client,
PropertyList
& proplist )
21
{
22
for
( PropertyList::Properties::iterator itr = proplist.
properties
.begin();
23
itr != proplist.
properties
.end(); ++itr )
24
{
25
OSTRINGSTREAM
os;
26
os << ( *itr ).first <<
": "
<< ( *itr ).second;
27
send_sysmessage
( client,
OSTRINGSTREAM_STR
( os ) );
28
}
29
}
30
31
void
UObjectHelper::ShowProperties
(
Network::Client
* client,
UObject
* obj )
32
{
33
ShowProperties
( client, obj->
proplist_
);
34
}
35
}
36
}
Pol::Core::UObjectHelper::ShowProperties
static void ShowProperties(Network::Client *client, PropertyList &proplist)
Definition:
uobjhelp.cpp:20
ufunc.h
OSTRINGSTREAM_STR
#define OSTRINGSTREAM_STR(x)
Definition:
stlutil.h:112
ufuncstd.h
Pol::Core::UObject::proplist_
PropertyList proplist_
Definition:
uobject.h:372
Pol::Network::Client
Definition:
client.h:133
uobjhelp.h
OSTRINGSTREAM
#define OSTRINGSTREAM
Definition:
stlutil.h:111
Pol::Core::PropertyList::properties
Properties properties
Definition:
proplist.h:219
uobject.h
Pol::Core::PropertyList
Definition:
proplist.h:190
Pol::Core::UObject
Definition:
uobject.h:202
client.h
Pol
Definition:
berror.cpp:11
Pol::Core::send_sysmessage
void send_sysmessage(Network::Client *client, const char *text, unsigned short font, unsigned short color)
Definition:
ufunc.cpp:1207
pol
uobjhelp.cpp
Generated on Mon Dec 12 2016 02:40:35 for Pol by
1.8.11