Skip to content

Commit

Permalink
5.8.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bha-evs committed Aug 26, 2024
1 parent d0ee22e commit c4f4ba0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/include/bofstd/bofserviceendpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ class BOFSTD_EXPORT BofServiceEndpoint
bool IsValid();
std::string ToString(bool _ShowName_B);

bool SetUserArg(bool _UserMaster_B, const std::string &_rUserArg_S);
bool SetServiceName(const std::string &_rServiceName_S);
bool SetServiceInstance(const std::string &_rServiceInstance_S);
bool SetServiceUrl(const std::string &_rServiceUrl_S);
bool SetServiceTagCollection(const std::set<std::string> &_rServiceTagCollection);

const std::string GetUserArg(bool &_rUserMaster_B);
const std::string GetServiceName() const;
const std::string GetServiceInstance() const;
const std::string GetServiceUrl() const;
Expand All @@ -51,6 +53,8 @@ class BOFSTD_EXPORT BofServiceEndpoint
std::string mServiceName_S;
std::string mServiceInstance_S;
std::set<std::string> mServiceTagCollection;
bool mUserMaster_B = false;
std::string mUserArg_S;
};

END_BOF_NAMESPACE()
12 changes: 11 additions & 1 deletion lib/src/bofserviceendpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ std::string BofServiceEndpoint::ToString(bool _ShowName_B)
Rts += mUri.ToString();
return Rts;
}
bool BofServiceEndpoint::SetUserArg(bool _UserMaster_B, const std::string &_rUserArg_S)
{
mUserArg_S = _UserMaster_B;
mUserMaster_B = _UserMaster_B;
return true;
}
bool BofServiceEndpoint::SetServiceName(const std::string &_rServiceName_S)
{
mServiceName_S = _rServiceName_S;
Expand All @@ -74,7 +80,11 @@ bool BofServiceEndpoint::SetServiceTagCollection(const std::set<std::string> &_r
mServiceTagCollection = _rServiceTagCollection;
return true;
}

const std::string BofServiceEndpoint::GetUserArg(bool &_rUserMaster_B)
{
_rUserMaster_B = mUserMaster_B;
return mUserArg_S;
}
const std::string BofServiceEndpoint::GetServiceName() const
{
return mServiceName_S;
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bofstd",
"version": "5.8.1.2",
"version": "5.8.1.3",
"description": "The onbings general purpose C++ Multiplatform library",
"dependencies": [
{
Expand Down

0 comments on commit c4f4ba0

Please sign in to comment.