-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using filesystem path 2 [ANT-1999] #2454
Merged
Merged
Changes from 73 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
9c588d8
thermal areas.ini
payetvin c03df07
thermal area list
payetvin 461ea8f
renew list
payetvin 42686ea
read adq patch
payetvin d662e78
hydro credit
payetvin 5336912
hydro credit
payetvin 330a406
Merge branch 'feature/use-std-fs' of https://github.com/AntaresSimula…
payetvin dc39ada
hydro LoadDailyMaxEnergy
payetvin 33a2bbe
remove using namespaces
payetvin c64e23b
generaldata
payetvin d9b65a1
format
payetvin 7d3ef46
layers
payetvin 30aa8d6
load crorrelation
payetvin 617e25d
constraint
payetvin 2153b73
fix hydro capacity
payetvin 5cd22da
fix adq
payetvin f38340d
binding constraints
payetvin cbed456
fix constraints
payetvin 7f6a639
xcast data
payetvin 9b5468e
remove using yni
payetvin a1a231e
links
payetvin b8004d1
Merge remote-tracking branch 'origin/develop' into feature/use-std-fs
payetvin c28c0f1
in solevr 1
payetvin bf387aa
survey results
payetvin b410436
fix windows compil
payetvin e81cc7e
fix windows compil 2
payetvin 3a3dc42
fix windows compil 3
payetvin f215166
xcast
payetvin b1bcbbc
test sts
payetvin 3417282
reportbuilder 1
payetvin ed72ed4
reportbuilder 2
payetvin ee6bc3d
reportbuilder 3
payetvin 5db13ce
reportbuilder 4
payetvin 2db9827
fix sts windows
payetvin 8f4471d
fix sts windows 2
payetvin 9074df1
fix path output var
payetvin 537d396
remove namespace using in header
payetvin 1aa8a07
include yuni in xcast
payetvin a0f56fd
remove yuni include
payetvin 7428ae5
revert 34172823169a15693abc14950ecca61f9136f841
payetvin a4acddf
fix compile
payetvin 89d2d5a
xcast
payetvin e1aa1fc
more cleaning
payetvin d63c473
report builder
payetvin a169432
ts generator hydro
payetvin f887bee
solver utils
payetvin 18cfe02
cleaning, hydro series
payetvin c76e5cb
more hydro
payetvin d071366
more cleaning
payetvin f27f800
fix windows
payetvin 097168d
Revert "fix windows"
payetvin 40b8a2d
Revert "more cleaning"
payetvin 3fa6bd9
clean
payetvin ab80b1f
add todo remove with GUI to study output
payetvin 52bc327
xcast
payetvin 44791d4
prepro hydro
payetvin 9166476
remove conversion from area list
payetvin 408ab9d
store ts numbers
payetvin 4af3689
links ts numbers
payetvin 2ec9523
mark gui function as deprecated
payetvin 4b96d27
format
payetvin 7cd1eb0
add entry from buffer use path
payetvin 9c87b88
Revert "format"
payetvin 40dd4b0
Revert "mark gui function as deprecated"
payetvin 7acbb35
format
payetvin d4df6c2
windows compile
payetvin b89512c
remove conversion + sep cluster list
payetvin f11b844
more rm useless conversion
payetvin 5901006
yuni str conv
payetvin 40abe46
more conv
payetvin 0266a02
yuni str
payetvin 9b1439d
last useless conversion
payetvin 6e067fd
prepro
payetvin 6bc87fc
add todo remove with gui
payetvin ae979cb
code smells
payetvin 1431928
hydro container
payetvin 2622842
format
payetvin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,8 +47,6 @@ | |
|
||
using namespace Yuni; | ||
|
||
#define SEP Yuni::IO::Separator | ||
|
||
namespace Antares | ||
{ | ||
/*extern*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,23 +41,6 @@ void PathList::clear() | |
item.clear(); | ||
} | ||
|
||
size_t PathList::internalSizeOnDisk() const | ||
{ | ||
size_t size = 0; | ||
Clob buffer; | ||
|
||
const ItemList::const_iterator end = item.end(); | ||
for (ItemList::const_iterator i = item.begin(); i != end; ++i) | ||
{ | ||
if (!(i->second.options & pathListOptFolder)) | ||
{ | ||
buffer.clear() << pTmp << SEP << i->first; | ||
size += (size_t)IO::File::Size(pTmp); | ||
} | ||
} | ||
return size; | ||
} | ||
|
||
Comment on lines
-44
to
-60
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note: this function is unused. |
||
size_t PathList::totalSizeInBytes() const | ||
{ | ||
size_t size = 0; | ||
|
@@ -70,6 +53,7 @@ size_t PathList::totalSizeInBytes() const | |
return size; | ||
} | ||
|
||
// TODO VP: remove with tools | ||
payetvin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
uint PathList::internalDeleteAllEmptyFolders() | ||
{ | ||
if (!pTmp || item.empty()) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to other readers: this function is unused