You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2013/04/30 21:57:47 UTC
svn commit: r1477800 - /qpid/trunk/qpid/cpp/include/qpid/log/Selector.h
Author: gsim
Date: Tue Apr 30 19:57:47 2013
New Revision: 1477800
URL: http://svn.apache.org/r1477800
Log:
QPID-4651: export symbol directives
Modified:
qpid/trunk/qpid/cpp/include/qpid/log/Selector.h
Modified: qpid/trunk/qpid/cpp/include/qpid/log/Selector.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/log/Selector.h?rev=1477800&r1=1477799&r2=1477800&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/log/Selector.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/log/Selector.h Tue Apr 30 19:57:47 2013
@@ -32,7 +32,7 @@ struct Options;
* where cliEntry = [!]LEVEL[+-][:PATTERN]
*/
struct SelectorElement {
- SelectorElement(const std::string cliEntry);
+ QPID_COMMON_EXTERN SelectorElement(const std::string cliEntry);
std::string levelStr;
std::string patternStr;
Level level;
@@ -51,16 +51,16 @@ struct SelectorElement {
class Selector {
public:
/** Empty selector selects nothing */
- Selector();
+ QPID_COMMON_EXTERN Selector();
/** Set selector from Options */
QPID_COMMON_EXTERN Selector(const Options&);
/** Equavlient to: Selector s; s.enable(l, s) */
- Selector(Level l, const std::string& s=std::string());
+ QPID_COMMON_EXTERN Selector(Level l, const std::string& s=std::string());
/** Selector from string */
- Selector(const std::string& selector);
+ QPID_COMMON_EXTERN Selector(const std::string& selector);
/** push option settings into runtime lookup structs */
QPID_COMMON_EXTERN void enable(const std::string& enableStr);
@@ -70,8 +70,8 @@ class Selector {
* Enable/disable messages with level in levels where the file
* name contains substring. Empty string matches all.
*/
- void enable(Level level, const std::string& substring=std::string());
- void disable(Level level, const std::string& substring=std::string());
+ QPID_COMMON_EXTERN void enable(Level level, const std::string& substring=std::string());
+ QPID_COMMON_EXTERN void disable(Level level, const std::string& substring=std::string());
/** Tests to determine if function names are in enable/disable tables */
QPID_COMMON_EXTERN bool isEnabled(Level level, const char* function);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org