version 1.9, 2002/03/04 15:10:05
|
version 1.12, 2002/07/26 20:01:19
|
|
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
|
// The Open Group, Tivoli Systems |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/Array.h> | #include <Pegasus/Common/Array.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
|
#include <Pegasus/Common/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
static const Uint32 ANY; | static const Uint32 ANY; |
}; | }; |
| |
|
/** The behavior of this method is undefined and is subject to change */ |
PEGASUS_COMMON_LINKAGE String ScopeToString(Uint32 scope); | PEGASUS_COMMON_LINKAGE String ScopeToString(Uint32 scope); |
| |
/** Generate Scope output string for Mof. Differs from the Socpe to string |
|
in that it allows "any" (which is not defined in xml> and lower cases |
|
the output. |
|
COMMENT; Probably should not be in core but cheap hack |
|
*/ |
|
PEGASUS_COMMON_LINKAGE String ScopeToMofString(Uint32 scope); |
|
|
|
/** |
|
*/ |
|
PEGASUS_COMMON_LINKAGE void ScopeToXml(Array<Sint8>& out, Uint32 scope); |
|
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif /* Pegasus_Scope_h */ | #endif /* Pegasus_Scope_h */ |